summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Common/Logger.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Common/Logger.h b/src/Common/Logger.h
index 465ae00..39ca5dd 100644
--- a/src/Common/Logger.h
+++ b/src/Common/Logger.h
@@ -44,6 +44,9 @@ class Logger {
public:
static void log(MessageLevel level, const std::string &message);
+ static void log(const std::string &message) {
+ log(DEFAULT, message);
+ }
static void registerLogger(Logger *logger) {
loggers.push_back(logger);