diff options
Diffstat (limited to 'client/Logger.cpp')
-rw-r--r-- | client/Logger.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/Logger.cpp b/client/Logger.cpp index 1367751..9de51c8 100644 --- a/client/Logger.cpp +++ b/client/Logger.cpp @@ -15,11 +15,13 @@ FILE* Logger::logFile = NULL; void Logger::InitLogFile() { + /* if (logFile == NULL) { logFile = fopen("client.log", "a"); - setbuf(logFile, NULL); + setbuf(logFile, NULL); } + */ } void Logger::Trace(string msg, ...) @@ -116,4 +118,4 @@ void Logger::Log(LogLevelType logLevel, string msg, va_list args) delete [] newfmt; } -#endif
\ No newline at end of file +#endif |