improved simplified IcmpPinger logging (using LogPrefix like in DNS and PingScheduler)
[pingcheck] / src / icmp / icmppinger.h
index c1e1e6a..f6ce523 100644 (file)
@@ -177,6 +177,8 @@ private:
     PingStatus PingerStatus;
     /// Callback to notify when the ping is done (got reply/timeout)
     boost::function< void(bool) > PingDoneCallback;
+    /// prefix to logging output lines
+    std::string LogPrefix;
 };
 
 #endif // ICMP_PINGER_H