Skip to content
Snippets Groups Projects
Commit 6cddc9b9 authored by D-AIRY's avatar D-AIRY
Browse files

Added Log* defines

parent d3206c51
Branches
Tags
No related merge requests found
......@@ -324,6 +324,10 @@ inline void LibReport(int iLevel, const char *szFormat, ...)
DefReport(iLevel, SX_LIB_NAME, buf);
}
#define LogInfo(...) LibReport(REPORT_MSG_LEVEL_NOTICE, __VA_ARGS__)
#define LogWarning(...) LibReport(REPORT_MSG_LEVEL_WARNING, __VA_ARGS__)
#define LogError(...) LibReport(REPORT_MSG_LEVEL_ERROR, __VA_ARGS__)
#define LogFatal(...) LibReport(REPORT_MSG_LEVEL_FATAL, __VA_ARGS__)
#define SX_MAX_THREAD_COUNT 64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment