summaryrefslogtreecommitdiffstats
path: root/src/mad.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-21 19:58:55 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-21 19:58:55 +0200
commitb16c75d98c57b8f1efa26ab6eae35431c04c4c1e (patch)
tree4348ceac0e673a1742565cf0f291a8d540774668 /src/mad.cpp
parent84f69d7aacef531c0ad809d7511c7ab7bce7469c (diff)
downloadmad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.tar
mad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.zip
Printf-artige Funktion logf zum Logger hinzugef?gt
Diffstat (limited to 'src/mad.cpp')
-rw-r--r--src/mad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mad.cpp b/src/mad.cpp
index 62b97f1..3486a6a 100644
--- a/src/mad.cpp
+++ b/src/mad.cpp
@@ -76,7 +76,7 @@ int main() {
Common::RequestManager::getRequestManager()->unregisterConnection(connection);
}
catch(Mad::Common::Exception &e) {
- Common::Logger::log(Common::Logger::CRITICAL, "Connection error: " + e.strerror());
+ Common::Logger::logf(Common::Logger::CRITICAL, "Connection error: %s", e.strerror().c_str());
}
delete connection;