diff options
Diffstat (limited to 'src/SimpleLogger.h')
| -rw-r--r-- | src/SimpleLogger.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/SimpleLogger.h b/src/SimpleLogger.h index 4b3843a2..5caab527 100644 --- a/src/SimpleLogger.h +++ b/src/SimpleLogger.h @@ -30,19 +30,19 @@ private: DEBUG, INFO, ERROR}; - void writeLog(int level, string msg, va_list ap, Exception* e = NULL); + void writeLog(int level, string msg, va_list ap, Exception* e = NULL) const; FILE* file; public: SimpleLogger(string filename); SimpleLogger(FILE* logfile); ~SimpleLogger(); - void debug(string msg, ...); - void debug(string msg, Exception* ex, ...); - void info(string msg, ...); - void info(string msg, Exception* ex, ...); - void error(string msg, ...); - void error(string msg, Exception* ex, ...); + void debug(string msg, ...) const; + void debug(string msg, Exception* ex, ...) const; + void info(string msg, ...) const; + void info(string msg, Exception* ex, ...) const; + void error(string msg, ...) const; + void error(string msg, Exception* ex, ...) const; }; #endif // _D_SIMPLE_LOGGER_H_ |
