diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-30 22:28:33 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-30 22:28:33 +0200 |
commit | 1a43fad56dc945c72a4ab711d2c9ff6d1a5a1502 (patch) | |
tree | e2b6847ce5e6a6d41269f1d2fa30011060abcd08 /src/madc.cpp | |
parent | 241f1947580df7f905ed3d6969cc3a6a4bb99f5a (diff) | |
download | mad-1a43fad56dc945c72a4ab711d2c9ff6d1a5a1502.tar mad-1a43fad56dc945c72a4ab711d2c9ff6d1a5a1502.zip |
Added Format class for improved logging experience :)
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 40138cd..477dc04 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -155,7 +155,7 @@ int main(int argc, char *argv[]) { application.getUserManager()->unregisterBackend(networkUserBackend); } catch(Core::Exception &e) { - application.logf(Core::Logger::LOG_CRITICAL, "Error: %s", e.what()); + application.log(Core::Logger::LOG_CRITICAL, Core::Format("Error: %s") % e); } application.getRequestManager()->unregisterConnection(connection); |