summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Globals.h')
-rw-r--r--src/Globals.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Globals.h b/src/Globals.h
index f0726454b..51ddc4e79 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -298,6 +298,16 @@ void inline LOGD(const char* a_Format, ...)
va_end(argList);
}
+void inline LOG(const char* a_Format, ...) FORMATSTRING(1, 2);
+
+void inline LOG(const char* a_Format, ...)
+{
+ va_list argList;
+ va_start(argList, a_Format);
+ vprintf(a_Format, argList);
+ va_end(argList);
+}
+
#endif