X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/73f478b15a61946b2c78843b968ba69b95551c09..4c030cdad118fd574774f0fd00313e0042401c7c:/stglibs/logger.lib/logger.cpp?ds=sidebyside diff --git a/stglibs/logger.lib/logger.cpp b/stglibs/logger.lib/logger.cpp index 3bbd3367..14c09591 100644 --- a/stglibs/logger.lib/logger.cpp +++ b/stglibs/logger.lib/logger.cpp @@ -32,7 +32,7 @@ STG_LOGGER_LOCKER lock(&mutex); fileName = fn; } //----------------------------------------------------------------------------- -void STG_LOGGER::operator()(const char * fmt, ...) +void STG_LOGGER::operator()(const char * fmt, ...) const { 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) @@ -107,7 +107,7 @@ PLUGIN_LOGGER::PLUGIN_LOGGER(const PLUGIN_LOGGER & rhs) SetLogFileName(fileName); } //----------------------------------------------------------------------------- -void PLUGIN_LOGGER::operator()(const char * fmt, ...) +void PLUGIN_LOGGER::operator()(const char * fmt, ...) const { char buff[2029];