From a7adf93457be4b5a07eff08848cc0b5763722710 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 22 Sep 2008 18:46:30 +0200 Subject: Einige Verbesserungen am Logger --- src/Common/Backends/ConsoleLogger.h | 2 +- src/Common/Backends/FileLogger.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Common/Backends') 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; } -- cgit v1.2.3