summaryrefslogtreecommitdiff
path: root/src/utils/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/log.h')
-rw-r--r--src/utils/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/log.h b/src/utils/log.h
new file mode 100644
index 0000000..32f6a8f
--- /dev/null
+++ b/src/utils/log.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#define printLog(format,...) _printLogBack(format, __FILE_NAME__, __LINE__, ## __VA_ARGS__)
+
+extern void _printLogBack(const char *format, const char *file, int line, ...);