git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Error messages unified.
[stg.git]
/
stglibs
/
logger.lib
/
logger.cpp
diff --git
a/stglibs/logger.lib/logger.cpp
b/stglibs/logger.lib/logger.cpp
index 18c9de7eaaef636ac69029fad6cf1d9a5a300cba..d85581991b0c5cfea7da97c2f52fb59a7890adf0 100644
(file)
--- a/
stglibs/logger.lib/logger.cpp
+++ b/
stglibs/logger.lib/logger.cpp
@@
-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);
}