]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/ipq_linux/ipq_cap.cpp
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / capture / ipq_linux / ipq_cap.cpp
index 1dc22b4cff9e330579a902c693fe83e1bf05ec12..6cf5b0f94559eaa8c0b1d8156936aa058868a2d4 100644 (file)
@@ -63,7 +63,8 @@ IPQ_CAP::IPQ_CAP()
       isRunning(false),
       capSock(-1),
       traffCnt(NULL),
-      buf()
+      buf(),
+      logger(GetPluginLogger(GetStgLogger(), "cap_ipq"))
 {
 memset(buf, 0, BUFSIZE);
 }