diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-10-27 22:41:06 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-10-27 22:41:06 +0100 |
commit | 2b83ae7c71dc706fb4fd7b4efc4a8ffee8dfe522 (patch) | |
tree | 4f63c64041fd93255105493fd444a65ad0761b9b /src/Core/RequestHandlers | |
parent | b58831e5eec4d0595099b8e9c2979b157fe37041 (diff) | |
download | mad-2b83ae7c71dc706fb4fd7b4efc4a8ffee8dfe522.tar mad-2b83ae7c71dc706fb4fd7b4efc4a8ffee8dfe522.zip |
Neues Initialisierung-Framework hinzugef?gt
Diffstat (limited to 'src/Core/RequestHandlers')
-rw-r--r-- | src/Core/RequestHandlers/LogRequestHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/RequestHandlers/LogRequestHandler.cpp b/src/Core/RequestHandlers/LogRequestHandler.cpp index 6bda627..c2b2fde 100644 --- a/src/Core/RequestHandlers/LogRequestHandler.cpp +++ b/src/Core/RequestHandlers/LogRequestHandler.cpp @@ -19,7 +19,7 @@ #include "LogRequestHandler.h" #include <Common/Logger.h> -#include <Common/RemoteLogger.h> +#include <Common/LogManager.h> #include "../ConnectionManager.h" #include <Net/Connection.h> #include <Net/Packets/ErrorPacket.h> @@ -43,7 +43,7 @@ void LogRequestHandler::handlePacket(Net::Connection *connection, const Net::Pac Net::Packets::LogPacket logPacket(packet); try { - Common::RemoteLogger::log(logPacket.getCategory(), logPacket.getLevel(), logPacket.getTimestamp(), logPacket.getMessage().c_str(), + Common::LogManager::getLogManager()->log(logPacket.getCategory(), logPacket.getLevel(), logPacket.getTimestamp(), logPacket.getMessage().c_str(), ConnectionManager::getConnectionManager()->getDaemonName(connection)); } catch(Common::Exception &e) { |