16 #ifndef MCL_LOG_UTIL_H_ 17 #define MCL_LOG_UTIL_H_ 109 #endif //MCL_LOG_UTIL_H_
Common module interface header file.
Log output channel is stderr.
MCL_EXPORT E_MCL_ERROR_CODE mcl_log_util_set_output_level(const int log_level)
Sets the global output level. The output level is used during runtime check. No logs are written if g...
Log output channel is file.
MCL_EXPORT const char * mcl_log_util_convert_error_code_to_string(E_MCL_ERROR_CODE error_code)
This function converts the given error code to its string value.
E_MCL_ERROR_CODE
MCL Error code definitions. Every function returning an error code uses this enum values...
MCL_EXPORT void mcl_log_util_finalize(void)
Performs finalizing operations for logging.
void(* mcl_log_util_callback_t)(int log_level, const char *tag, const char *message, void *user_context)
Log util callback function definition.
Log output channel is callback.
MCL_EXPORT E_MCL_ERROR_CODE mcl_log_util_initialize(E_LOG_OUTPUT log_output,...)
This function initializes logging where output channel is set and configured via variable arguments...
Log output channel is syslog.
E_LOG_OUTPUT
MCL Log output definitions.