diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-21 19:58:55 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-21 19:58:55 +0200 |
commit | b16c75d98c57b8f1efa26ab6eae35431c04c4c1e (patch) | |
tree | 4348ceac0e673a1742565cf0f291a8d540774668 /src/mad.cpp | |
parent | 84f69d7aacef531c0ad809d7511c7ab7bce7469c (diff) | |
download | mad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.tar mad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.zip |
Printf-artige Funktion logf zum Logger hinzugef?gt
Diffstat (limited to 'src/mad.cpp')
-rw-r--r-- | src/mad.cpp | 2 |
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; |