Go to the documentation of this file.
73 if (logging_callback != NULL && logging_level >= level)
#define MIP_LOG_LEVEL_OFF
Signifies that the log is turned off.
void mip_logging_log(mip_log_level level, const char *fmt,...)
Internal log function called by logging macros.
uint8_t mip_log_level
Logging level enum.
mip_log_callback mip_logging_callback()
Gets the currently active logging callback.
mip_log_callback mip_log_callback_
Global logging callback. Do not access directly.
void mip_logging_init(mip_log_callback callback, mip_log_level level, void *user)
Initializes the logger with a callback and user data.
void(* mip_log_callback)(void *user, mip_log_level level, const char *fmt, va_list args)
Callback function typedef for custom logging behavior.
void * mip_logging_user_data()
Gets the currently active logging user data.
void * mip_log_user_data_
Global logging user data. Do not access directly.
mip_log_level mip_log_level_
Global logging level. Do not access directly.
mip_log_level mip_logging_level()
Gets the currently active logging level.