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/modules/StorageBackendFile | |
parent | 241f1947580df7f905ed3d6969cc3a6a4bb99f5a (diff) | |
download | mad-1a43fad56dc945c72a4ab711d2c9ff6d1a5a1502.tar mad-1a43fad56dc945c72a4ab711d2c9ff6d1a5a1502.zip |
Added Format class for improved logging experience :)
Diffstat (limited to 'src/modules/StorageBackendFile')
-rw-r--r-- | src/modules/StorageBackendFile/StorageBackendFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/StorageBackendFile/StorageBackendFile.cpp b/src/modules/StorageBackendFile/StorageBackendFile.cpp index e801a64..c7017c0 100644 --- a/src/modules/StorageBackendFile/StorageBackendFile.cpp +++ b/src/modules/StorageBackendFile/StorageBackendFile.cpp @@ -38,7 +38,7 @@ void StorageBackendFile::configure() { } if(!boost::filesystem::is_directory(storageRoot)) { - application->logf("StorageBackendFile: Can't create directory: '%s'.", storageRoot.string().c_str()); + application->log(Core::Format("StorageBackendFile: Can't create directory: '%1%'.") % storageRoot.string()); return; } |