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.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/project2/common/logger.cpp b/project2/common/logger.cpp
index 95c2b15..98aaf0b 100644
--- a/project2/common/logger.cpp
+++ b/project2/common/logger.cpp
@@ -81,6 +81,13 @@ Log::vmessagef(int priority, const char * msgfmt, va_list va) const
free(msg);
}
+
+boost::shared_ptr<boost::format>
+Log::getFormat(const std::string & msgfmt)
+{
+ return AdHoc::Buffer::getFormat(msgfmt);
+}
+
Log *
Logger::operator->() const
{