diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-24 12:21:28 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-24 12:21:28 +0200 |
commit | 4af89ed7f5d5b830332c796f7038600ad01ec3f5 (patch) | |
tree | 6cf5933c40be66e0f7bdd282fd85d04e62925387 /src/Common/Logger.cpp | |
parent | a7adf93457be4b5a07eff08848cc0b5763722710 (diff) | |
download | mad-4af89ed7f5d5b830332c796f7038600ad01ec3f5.tar mad-4af89ed7f5d5b830332c796f7038600ad01ec3f5.zip |
Log-Kategorien als Bitset
Diffstat (limited to 'src/Common/Logger.cpp')
-rw-r--r-- | src/Common/Logger.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Common/Logger.cpp b/src/Common/Logger.cpp index 6206b59..859a77d 100644 --- a/src/Common/Logger.cpp +++ b/src/Common/Logger.cpp @@ -86,12 +86,5 @@ void Logger::logf(const char *format, ...) { va_end(ap); } -void Logger::setAllCategories() { - static const MessageCategory categoryList[] = {SYSTEM, NETWORK, DAEMON, USER, DISK, PROGRAM, GENERAL}; - - for(unsigned int i = 0; i < sizeof(categoryList)/sizeof(categoryList[0]); ++i) - setCategory(categoryList[i]); -} - } } |