summaryrefslogtreecommitdiff
path: root/project-base/src/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'project-base/src/logging.h')
-rw-r--r--project-base/src/logging.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/project-base/src/logging.h b/project-base/src/logging.h
index 4cd6983..91038a8 100644
--- a/project-base/src/logging.h
+++ b/project-base/src/logging.h
@@ -24,6 +24,7 @@
printf(__buf); \
MessageBox(0, __buf, "Error", MB_OK); abort(); }
#define log_info(_message) { char _____buf[4000]; sprintf(_____buf, "INFO: %s, at %s, line %d. In %s\n", _message, __FILENAME__, __LINE__, __func__); printf(_____buf); OutputDebugStringA(_____buf); }
+#define log_infox(format, ...) { char _____buf[4000]; sprintf(_____buf, "INFO: "format", at %s, line %d. In %s\n", __VA_ARGS__, __FILENAME__, __LINE__, __func__); printf(_____buf); OutputDebugStringA(_____buf); }
#endif
#else