mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Log starting of the XSwiftPlugin
Rational: If XPlane crashes before that log it is most likely something else Remark: Logger macros using namespace, so they can be used outside XSwiftBus
This commit is contained in:
committed by
Mat Sutcliffe
parent
eed46f47a9
commit
3ea8f9c24f
@@ -11,6 +11,7 @@
|
||||
#endif
|
||||
#include "plugin.h"
|
||||
#include "traffic.h"
|
||||
#include "utils.h"
|
||||
#include <XPLM/XPLMPlanes.h>
|
||||
#include <XPLM/XPLMPlugin.h>
|
||||
#include <cstring>
|
||||
@@ -28,6 +29,7 @@ PLUGIN_API int XPluginStart(char *o_name, char *o_sig, char *o_desc)
|
||||
XPLMEnableFeature("XPLM_USE_NATIVE_PATHS",1);
|
||||
#endif
|
||||
|
||||
INFO_LOG("XSwiftBus plugin starting");
|
||||
std::strcpy(o_name, "XSwiftBus");
|
||||
std::strcpy(o_sig, "org.swift-project.xswiftbus");
|
||||
std::strcpy(o_desc, "Allows swift to connect to X-Plane via D-Bus IPC");
|
||||
|
||||
Reference in New Issue
Block a user