]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/rscript/rscript.cpp
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / other / rscript / rscript.cpp
index 9e560a5d6062394baa90c3ef19b7dd24a5e8e64c..4ce51d65a803eb7c51b5c29f220a3ff5de9d0fa4 100644 (file)
@@ -181,7 +181,8 @@ REMOTE_SCRIPT::REMOTE_SCRIPT()
       mutex(),
       sock(0),
       onAddUserNotifier(*this),
-      onDelUserNotifier(*this)
+      onDelUserNotifier(*this),
+      logger(GetPluginLogger(GetStgLogger(), "rscript"))
 {
 pthread_mutex_init(&mutex, NULL);
 }