diff options
author | Huynh Tran <nthuynh75@gmail.com> | 2005-06-19 19:51:12 +0000 |
---|---|---|
committer | Huynh Tran <nthuynh75@gmail.com> | 2005-06-19 19:51:12 +0000 |
commit | 1308a690ac40a109cefaf59ff6c9384351a8bced (patch) | |
tree | 36df13e2af229d88b603b482882130708ef6946b /src | |
parent | 55eac30c1045f22206b4d6e0c6d43bfbfccdadda (diff) | |
download | manaserv-1308a690ac40a109cefaf59ff6c9384351a8bced.tar.gz manaserv-1308a690ac40a109cefaf59ff6c9384351a8bced.tar.bz2 manaserv-1308a690ac40a109cefaf59ff6c9384351a8bced.tar.xz manaserv-1308a690ac40a109cefaf59ff6c9384351a8bced.zip |
Forgot to initalize member variables :P
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/logger.cpp | 2 | ||||
-rw-r--r-- | src/utils/logger.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/utils/logger.cpp b/src/utils/logger.cpp index bfba7abe..3f32ddb8 100644 --- a/src/utils/logger.cpp +++ b/src/utils/logger.cpp @@ -43,6 +43,8 @@ namespace utils */ Logger::Logger(void) throw() + : mHasTimestamp(true), + mTeeMode(false) { // NOOP } diff --git a/src/utils/logger.h b/src/utils/logger.h index bdfa905e..072f7c0f 100644 --- a/src/utils/logger.h +++ b/src/utils/logger.h @@ -123,10 +123,10 @@ class Logger: public Singleton<Logger> * Set tee mode. * * @param flag if true, write messages to both the standard (or error) - * output and the log file (if set) (default = false). + * output and the log file (if set) (default = true). */ void - setTeeMode(bool flag = false) + setTeeMode(bool flag = true) throw(); |