diff options
Diffstat (limited to 'src/Common/Backends')
-rw-r--r-- | src/Common/Backends/ConsoleLogger.cpp | 2 | ||||
-rw-r--r-- | src/Common/Backends/ConsoleLogger.h | 2 | ||||
-rw-r--r-- | src/Common/Backends/FileLogger.cpp | 2 | ||||
-rw-r--r-- | src/Common/Backends/FileLogger.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/Common/Backends/ConsoleLogger.cpp b/src/Common/Backends/ConsoleLogger.cpp index 4bfa93b..503bca7 100644 --- a/src/Common/Backends/ConsoleLogger.cpp +++ b/src/Common/Backends/ConsoleLogger.cpp @@ -24,7 +24,7 @@ namespace Mad { namespace Common { namespace Backends { -void ConsoleLogger::logMessage(MessageLevel, const std::string &message) { +void ConsoleLogger::logMessage(MessageCategory category, MessageLevel, const std::string &message) { std::cerr << message << std::endl; } diff --git a/src/Common/Backends/ConsoleLogger.h b/src/Common/Backends/ConsoleLogger.h index 72fc179..ee0b51e 100644 --- a/src/Common/Backends/ConsoleLogger.h +++ b/src/Common/Backends/ConsoleLogger.h @@ -28,7 +28,7 @@ namespace Backends { class ConsoleLogger : public Logger { protected: - virtual void logMessage(MessageLevel, const std::string &message); + virtual void logMessage(MessageCategory category, MessageLevel, const std::string &message); public: ConsoleLogger() {} diff --git a/src/Common/Backends/FileLogger.cpp b/src/Common/Backends/FileLogger.cpp index b0bd57b..8d95da5 100644 --- a/src/Common/Backends/FileLogger.cpp +++ b/src/Common/Backends/FileLogger.cpp @@ -23,7 +23,7 @@ namespace Mad { namespace Common { namespace Backends { -void FileLogger::logMessage(MessageLevel, const std::string &message) { +void FileLogger::logMessage(MessageCategory category, MessageLevel, const std::string &message) { file << message << std::endl; } diff --git a/src/Common/Backends/FileLogger.h b/src/Common/Backends/FileLogger.h index 09946df..3626fed 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(MessageLevel, const std::string &message); + virtual void logMessage(MessageCategory category, MessageLevel, const std::string &message); public: FileLogger(const std::string &filename) |