[core] allow logging error codes and formatting strings at the same time

This commit is contained in:
Konstantin Käfer
2018-06-07 14:49:41 +02:00
parent bed86b98f1
commit 2b2de05612
2 changed files with 10 additions and 4 deletions

View File

@@ -67,8 +67,8 @@ public:
private:
static void record(EventSeverity severity, Event event, const std::string &msg);
static void record(EventSeverity severity, Event event, const char* format, ...);
static void record(EventSeverity severity, Event event, int64_t code);
static void record(EventSeverity severity, Event event, const char* format = "", ...);
static void record(EventSeverity severity, Event event, int64_t code, const char* format = "", ...);
static void record(EventSeverity severity, Event event, int64_t code, const std::string &msg);
// This method is the data sink that must be implemented by each platform we