git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added suboptions to tariffs and admins.
[stg.git]
/
stglibs
/
logger.lib
/
logger.cpp
diff --git
a/stglibs/logger.lib/logger.cpp
b/stglibs/logger.lib/logger.cpp
index 3bbd33674f6c640d86606f4b7074680dba758879..14c09591f0394147c3527a1ec253ad746e59c865 100644
(file)
--- a/
stglibs/logger.lib/logger.cpp
+++ b/
stglibs/logger.lib/logger.cpp
@@
-32,7
+32,7
@@
STG_LOGGER_LOCKER lock(&mutex);
fileName = fn;
}
//-----------------------------------------------------------------------------
fileName = fn;
}
//-----------------------------------------------------------------------------
-void STG_LOGGER::operator()(const char * fmt, ...)
+void STG_LOGGER::operator()(const char * fmt, ...)
const
{
STG_LOGGER_LOCKER lock(&mutex);
{
STG_LOGGER_LOCKER lock(&mutex);
@@
-74,7
+74,7
@@
else
}
}
//-----------------------------------------------------------------------------
}
}
//-----------------------------------------------------------------------------
-const char * STG_LOGGER::LogDate(time_t t)
+const char * STG_LOGGER::LogDate(time_t t)
const
{
static char s[32];
if (t == 0)
{
static char s[32];
if (t == 0)
@@
-107,7
+107,7
@@
PLUGIN_LOGGER::PLUGIN_LOGGER(const PLUGIN_LOGGER & rhs)
SetLogFileName(fileName);
}
//-----------------------------------------------------------------------------
SetLogFileName(fileName);
}
//-----------------------------------------------------------------------------
-void PLUGIN_LOGGER::operator()(const char * fmt, ...)
+void PLUGIN_LOGGER::operator()(const char * fmt, ...)
const
{
char buff[2029];
{
char buff[2029];