16 static void _mcl_log_util_default_callback(
void *user_context,
int log_level,
const char *file,
int line,
const char *tag,
const char *
const format, ...);
65 MCL_DEBUG_ENTRY(
"mcl_log_util_callback_t callback = <%p>, void *user_context = <%p>", callback, user_context);
84 va_start(args, format);
89 #if defined(WIN32) || defined(WIN64) 91 vprintf_s(format, args);
95 vprintf(format, args);
#define MCL_FUNCTION_LEAVE_LABEL
static void _mcl_log_util_default_callback(void *user_context, int log_level, const char *file, int line, const char *tag, const char *const format,...)
Given log level is invalid.
Assert module header file.
int mcl_log_util_get_output_level(void)
#define MCL_DEBUG_ENTRY(...)
Log utility module header file.
void * mcl_log_util_user_context
#define MCL_LOG_LEVEL_VERBOSE
static int _mcl_log_level
mcl_log_util_callback_t mcl_log_util_function
static const char * _mcl_level_strings[]
#define MCL_ASSERT_NOT_NULL(argument, return_variable)
mcl_error_t mcl_log_util_set_output_level(const int log_level)
#define MCL_LOG_LEVEL_NONE
mcl_error_t mcl_log_util_set_callback(mcl_log_util_callback_t callback, void *user_context)
#define MCL_LOG_LEVEL_FATAL
#define MCL_DEBUG_LEAVE(...)
void(* mcl_log_util_callback_t)(void *user_context, int log_level, const char *file, int line, const char *tag, const char *const format,...)