diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-22 18:46:30 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-22 18:46:30 +0200 |
commit | a7adf93457be4b5a07eff08848cc0b5763722710 (patch) | |
tree | 1509c5cb2a5cb215e14bca681dfdd0243c831766 /src/Common/Backends | |
parent | aee9955f2e16e0a61f1fee40548c478b45f507a6 (diff) | |
download | mad-a7adf93457be4b5a07eff08848cc0b5763722710.tar mad-a7adf93457be4b5a07eff08848cc0b5763722710.zip |
Einige Verbesserungen am Logger
Diffstat (limited to 'src/Common/Backends')
-rw-r--r-- | src/Common/Backends/ConsoleLogger.h | 2 | ||||
-rw-r--r-- | src/Common/Backends/FileLogger.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Backends/ConsoleLogger.h b/src/Common/Backends/ConsoleLogger.h index 7ae09a5..21b86ae 100644 --- a/src/Common/Backends/ConsoleLogger.h +++ b/src/Common/Backends/ConsoleLogger.h @@ -29,7 +29,7 @@ namespace Backends { class ConsoleLogger : public Logger { protected: - virtual void logMessage(MessageCategory category, MessageLevel, const std::string &message) { + virtual void logMessage(MessageCategory, MessageLevel, const std::string &message) { std::cerr << message << std::endl; } diff --git a/src/Common/Backends/FileLogger.h b/src/Common/Backends/FileLogger.h index e31c019..98538ee 100644 --- a/src/Common/Backends/FileLogger.h +++ b/src/Common/Backends/FileLogger.h @@ -32,7 +32,7 @@ class FileLogger : public Logger { std::ofstream file; protected: - virtual void logMessage(MessageCategory category, MessageLevel, const std::string &message) { + virtual void logMessage(MessageCategory, MessageLevel, const std::string &message) { file << message << std::endl; } |