From b16c75d98c57b8f1efa26ab6eae35431c04c4c1e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 21 Sep 2008 19:58:55 +0200 Subject: Printf-artige Funktion logf zum Logger hinzugef?gt --- src/Core/ConnectionManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Core') diff --git a/src/Core/ConnectionManager.cpp b/src/Core/ConnectionManager.cpp index ceefe18..8356594 100644 --- a/src/Core/ConnectionManager.cpp +++ b/src/Core/ConnectionManager.cpp @@ -198,7 +198,7 @@ void ConnectionManager::identifyDaemonConnection(Net::Connection *connection, co daemonInfo[idCon->first].setStatus(Common::HostInfo::RUNNING); connection->setIdentified(); - Common::Logger::log("Identified as '" + name + "'."); + Common::Logger::logf("Identified as '%s'.", name.c_str()); } std::vector ConnectionManager::getDaemonList() const { -- cgit v1.2.3