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/madc.cpp | |
parent | 84f69d7aacef531c0ad809d7511c7ab7bce7469c (diff) | |
download | mad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.tar mad-b16c75d98c57b8f1efa26ab6eae35431c04c4c1e.zip |
Printf-artige Funktion logf zum Logger hinzugef?gt
Diffstat (limited to 'src/madc.cpp')
-rw-r--r-- | src/madc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/madc.cpp b/src/madc.cpp index 828a2bf..b109448 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -121,7 +121,7 @@ int main(int argc, char *argv[]) { 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; |