]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/divert_freebsd/divert_cap.cpp
Introduced logger for plugins.
[stg.git] / projects / stargazer / plugins / capture / divert_freebsd / divert_cap.cpp
index 5cf5358fafe2f966a8dfb8218af5f9abe56898f7..c50b497447d2a3a3cb08e011a1fb602695e85950 100644 (file)
@@ -86,7 +86,8 @@ DIVERT_CAP::DIVERT_CAP()
       thread(),
       nonstop(false),
       isRunning(false),
-      traffCnt(NULL)
+      traffCnt(NULL),
+      logger(GetPluginLogger(GetStgLogger(), "cap_divert"))
 {
 }
 //-----------------------------------------------------------------------------