]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.h
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.h
index 15809c3c7fd9a6e9848b505691e230c64930f862..20e38d9d05cf260c2573912629e3e5a731acbe0c 100644 (file)
@@ -52,7 +52,7 @@
 //-----------------------------------------------------------------------------
 class CONFIGPROTO {
 public:
-    CONFIGPROTO();
+    CONFIGPROTO(PLUGIN_LOGGER & l);
     ~CONFIGPROTO();
 
     void            SetPort(uint16_t port);
@@ -93,7 +93,7 @@ private:
     bool                        nonstop;
     int                         state;
     ADMIN *                     currAdmin;
-    STG_LOGGER &                WriteServLog;
+    PLUGIN_LOGGER &             logger;
 
     int                         listenSocket;