diff options
author | Johannes Thorn <dante@g4t3.de> | 2008-09-28 00:35:16 +0200 |
---|---|---|
committer | Johannes Thorn <dante@g4t3.de> | 2008-09-28 00:35:16 +0200 |
commit | 29d723d82834a30557136f7585254eaf3673ce69 (patch) | |
tree | 2a6fa6686a709bc205036288c8f6c75cdccc050f /src/Core/RequestHandlers | |
parent | 37b452c361d99ca809c699b6968df3723f0cadb9 (diff) | |
download | mad-29d723d82834a30557136f7585254eaf3673ce69.tar mad-29d723d82834a30557136f7585254eaf3673ce69.zip |
Logger gr?ndlich ?berarbeitet und den Networklogger um Timestamp erweitert.
Diffstat (limited to 'src/Core/RequestHandlers')
-rw-r--r-- | src/Core/RequestHandlers/LogRequestHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/RequestHandlers/LogRequestHandler.cpp b/src/Core/RequestHandlers/LogRequestHandler.cpp index f2021b2..1366710 100644 --- a/src/Core/RequestHandlers/LogRequestHandler.cpp +++ b/src/Core/RequestHandlers/LogRequestHandler.cpp @@ -39,7 +39,7 @@ void LogRequestHandler::handlePacket(Net::Connection *connection, const Net::Pac // TODO Require authentication Net::Packets::LogPacket logPacket(packet); - Common::Logger::logf(logPacket.getCategory(), logPacket.getLevel(), "Remote log: %s", logPacket.getMessage().c_str()); + Common::Logger::log(logPacket.getCategory(), logPacket.getLevel(), logPacket.getMessage().c_str()); connection->send(Net::Packet(Net::Packet::OK, packet.getRequestId())); |