From 33ecd8fa230f1b50165121747c1e68a922c08909 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 22 Dec 2008 01:10:47 +0100 Subject: FileLogger als Modul ausgelagert --- src/Common/LogManager.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/Common/LogManager.cpp') diff --git a/src/Common/LogManager.cpp b/src/Common/LogManager.cpp index 5182a97..61c4bb6 100644 --- a/src/Common/LogManager.cpp +++ b/src/Common/LogManager.cpp @@ -19,8 +19,6 @@ #include "LogManager.h" #include "ConfigEntry.h" -#include "Backends/ConsoleLogger.h" -#include "Backends/FileLogger.h" namespace Mad { namespace Common { @@ -49,10 +47,10 @@ bool LogManager::handleConfigEntry(const ConfigEntry &entry, bool handled) { } void LogManager::configFinished() { - if(loggers.empty()) - registerLogger(static_cast(&consoleLogger)); + if(loggers.empty()) + registerLogger(static_cast(&consoleLogger)); - std::auto_ptr > queue = messageQueue; + std::auto_ptr > queue = messageQueue; while(!queue->empty()) { const Message &message = queue->front(); -- cgit v1.2.3