]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/ping/ping.cpp
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / other / ping / ping.cpp
index f0868e1225d21bd5a333094c412e9e4856d75861..00bb362d98151a56b7354cca9dd7922ae03ec2c1 100644 (file)
@@ -74,7 +74,8 @@ PING::PING()
       ChgCurrIPNotifierList(),
       ChgIPNotifierList(),
       onAddUserNotifier(*this),
-      onDelUserNotifier(*this)
+      onDelUserNotifier(*this),
+      logger(GetPluginLogger(GetStgLogger(), "ping"))
 {
 pthread_mutex_init(&mutex, NULL);
 }