diff options
Diffstat (limited to 'src/Core')
-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())); |