summaryrefslogtreecommitdiff
path: root/project2/common/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/logger.cpp')
-rw-r--r--project2/common/logger.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/project2/common/logger.cpp b/project2/common/logger.cpp
index 2c17dbf..dc02afc 100644
--- a/project2/common/logger.cpp
+++ b/project2/common/logger.cpp
@@ -56,6 +56,12 @@ Log::message(int priority, const char * msg) const
}
void
+Log::messagebf(int priority, const boost::format & f) const
+{
+ message(priority, f.str().c_str());
+}
+
+void
Log::messagef(int priority, const char * msgfmt, ...) const
{
if (priority > lowestLevel) return;