]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/authorization/inetaccess/inetaccess.h
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / authorization / inetaccess / inetaccess.h
index d0f6b5ac271691a6cad1b5c8186a8aaf6088a69d..08fd65128d835839cffbae170144d99014a06529 100644 (file)
@@ -49,6 +49,7 @@
 #include "stg/blowfish.h"
 #include "stg/logger.h"
 #include "stg/utime.h"
+#include "stg/logger.h"
 
 extern "C" PLUGIN * GetPlugin();
 
@@ -358,12 +359,12 @@ private:
 
     std::map<std::string, int> packetTypes;
 
-    STG_LOGGER &        WriteServLog;
-
     uint32_t            enabledDirs;
 
     DEL_USER_NOTIFIER   onDelUserNotifier;
 
+    PLUGIN_LOGGER       logger;
+
     friend class UnauthorizeUser;
 };
 //-----------------------------------------------------------------------------