summaryrefslogtreecommitdiff
path: root/project2/files
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-04-24 10:51:44 +0000
committerrandomdan <randomdan@localhost>2012-04-24 10:51:44 +0000
commit894b12fe1fffac3a7439f2fe33a10f926f9fd603 (patch)
tree73f082cf459daf693267e31da544434cee0fb69b /project2/files
parentTidy up some error handling and mutables (diff)
downloadproject2-894b12fe1fffac3a7439f2fe33a10f926f9fd603.tar.bz2
project2-894b12fe1fffac3a7439f2fe33a10f926f9fd603.tar.xz
project2-894b12fe1fffac3a7439f2fe33a10f926f9fd603.zip
Add support for using boost::format for log messages
Fix initialisation of console logger
Diffstat (limited to 'project2/files')
-rw-r--r--project2/files/fsRows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/files/fsRows.cpp b/project2/files/fsRows.cpp
index 72a2055..6fa9fef 100644
--- a/project2/files/fsRows.cpp
+++ b/project2/files/fsRows.cpp
@@ -115,7 +115,7 @@ FsRows::execute(SearchState & ss, const Path & dir, const RowProcessor * rp) con
if (!ignoreErrors()) {
throw;
}
- Logger()->messagef(LOG_WARNING, "%s when processing '%s'", e.what(), dir.string().c_str());
+ Logger()->messagebf(LOG_WARNING, "%s when processing '%s'", e.what(), dir);
}
ss.depth -= 1;
}