summaryrefslogtreecommitdiff
path: root/riff/Logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'riff/Logger.h')
-rw-r--r--riff/Logger.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/riff/Logger.h b/riff/Logger.h
index c995abc..8734fb2 100644
--- a/riff/Logger.h
+++ b/riff/Logger.h
@@ -30,7 +30,7 @@ public:
enum LogSeverity {
PROGRESS,
- ERROR,
+ ERR,
WARNING,
INFO
};
@@ -58,7 +58,11 @@ public:
* @param[in] format - printf style format of the message.
* @param[in] ... - variable argument list.
*/
+#ifdef _WIN32
+ void log(LogSeverity severity, const char* format, ...) const;
+#else
void log(LogSeverity severity, const char* format, ...) const __attribute__((format(printf, 3, 0)));
+#endif
/**
* @brief Print hex dump of the buffer.