From 29d723d82834a30557136f7585254eaf3673ce69 Mon Sep 17 00:00:00 2001 From: Johannes Thorn Date: Sun, 28 Sep 2008 00:35:16 +0200 Subject: Logger gr?ndlich ?berarbeitet und den Networklogger um Timestamp erweitert. --- src/Core/RequestHandlers/LogRequestHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Core/RequestHandlers/LogRequestHandler.cpp') 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())); -- cgit v1.2.3