]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/cap_nf/cap_nf.h
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / capture / cap_nf / cap_nf.h
index 43d6e0987a77521b82d7b92691e970ccf39ba56a..bf45cfea8b6dd64e56a0682621d8c9a5c8984184 100644 (file)
@@ -37,6 +37,7 @@ $Author: faust $
 #include "stg/os_int.h"
 #include "stg/plugin.h"
 #include "stg/module_settings.h"
+#include "stg/logger.h"
 
 #define VERSION "CAP_NF v. 0.4"
 #define START_POS 40
@@ -122,6 +123,7 @@ private:
     int sockTCP;
     int sockUDP;
     mutable std::string errorStr;
+    PLUGIN_LOGGER logger;
 
     static void * RunUDP(void *);
     static void * RunTCP(void *);