diff options
Diffstat (limited to 'client/Logger.h')
-rw-r--r-- | client/Logger.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/Logger.h b/client/Logger.h index cecd454..f8fa5db 100644 --- a/client/Logger.h +++ b/client/Logger.h @@ -13,7 +13,6 @@ enum LogLevelType FatalLevel }; - #ifdef DEBUG #include <stdarg.h> @@ -21,8 +20,10 @@ enum LogLevelType class Logger { public: + static FILE* logFile; static LogLevelType LogLevel; + static void InitLogFile(); static void Trace(std::string msg, ...); static void Debug(std::string msg, ...); static void Info(std::string msg, ...); @@ -39,6 +40,7 @@ private: class Logger { public: + static FILE* logFile; static LogLevelType LogLevel; static void Trace(std::string msg, ...) {} |