summaryrefslogtreecommitdiff
path: root/common/stderr_log.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-07-11 16:25:20 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-07-11 16:25:20 -0700
commitfbec72cd47a30788d1d5cf1df540c8f5bcf5613d (patch)
treeb4f387f4d7a7094f77e0863da528867019a21e62 /common/stderr_log.hpp
parent2dc9133006e5cc71c83d9e03d560b79de4f7a9fb (diff)
downloadqtlocation-mapboxgl-fbec72cd47a30788d1d5cf1df540c8f5bcf5613d.tar.gz
allow formatted messages
Diffstat (limited to 'common/stderr_log.hpp')
-rw-r--r--common/stderr_log.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/stderr_log.hpp b/common/stderr_log.hpp
index 32b6850cb7..e2492d3af5 100644
--- a/common/stderr_log.hpp
+++ b/common/stderr_log.hpp
@@ -10,6 +10,7 @@ public:
inline ~StderrLogBackend() = default;
void record(EventSeverity severity, Event event, const std::string &msg);
+ void record(EventSeverity severity, Event event, const char* format, ...);
void record(EventSeverity severity, Event event, int64_t code);
void record(EventSeverity severity, Event event, int64_t code, const std::string &msg);
};