From 43392fc66ab207e53a6924a2edbcd7ca0acecea8 Mon Sep 17 00:00:00 2001 From: A404M Date: Sat, 18 Jan 2025 20:42:54 +0330 Subject: initial commit --- src/utils/log.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/utils/log.h (limited to 'src/utils/log.h') 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, ...); -- cgit v1.2.3