]> git.stg.codes - stg.git/blobdiff - stglibs/logger.lib/logger.cpp
Merge branch 'master' into full-month-stats
[stg.git] / stglibs / logger.lib / logger.cpp
index 18c9de7eaaef636ac69029fad6cf1d9a5a300cba..d85581991b0c5cfea7da97c2f52fb59a7890adf0 100644 (file)
@@ -2,7 +2,7 @@
 #include <stdarg.h>
 #include <syslog.h>
 
 #include <stdarg.h>
 #include <syslog.h>
 
-#include "logger.h"
+#include "stg/logger.h"
 
 #ifdef STG_TIME
 extern const volatile time_t stgTime;
 
 #ifdef STG_TIME
 extern const volatile time_t stgTime;
@@ -15,7 +15,8 @@ return logger;
 }
 //-----------------------------------------------------------------------------
 STG_LOGGER::STG_LOGGER()
 }
 //-----------------------------------------------------------------------------
 STG_LOGGER::STG_LOGGER()
-    : fileName()
+    : fileName(),
+      mutex()
 {
 pthread_mutex_init(&mutex, NULL);
 }
 {
 pthread_mutex_init(&mutex, NULL);
 }