]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/rscript/rscript.h
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / other / rscript / rscript.h
index 794c4c2b82e8c28e0f6524cc3d3fa548e9c4e013..6ee10c82c0170eea7fc535356f6bb3eb084ec2c0 100644 (file)
@@ -47,6 +47,7 @@
 #include "stg/users.h"
 #include "stg/blowfish.h"
 #include "stg/rs_packets.h"
+#include "stg/logger.h"
 #include "nrmap_parser.h"
 
 extern "C" PLUGIN * GetPlugin();
@@ -227,6 +228,8 @@ private:
     RS_ADD_USER_NONIFIER onAddUserNotifier;
     RS_DEL_USER_NONIFIER onDelUserNotifier;
 
+    PLUGIN_LOGGER       logger;
+
     friend class UpdateRouter;
     friend class DisconnectUser;
 };