45 "[MYSQL_XCOM_FATAL] ",
"[MYSQL_XCOM_ERROR] ",
"[MYSQL_XCOM_WARN] ",
46 "[MYSQL_XCOM_INFO] "};
59#if !defined(GCS_XCOM_DEBUG_INFORMATION)
60#define GCS_XCOM_DEBUG_INFORMATION
75typedef void (*
xcom_logger)(
const int64_t level,
const char *message);
77 MY_ATTRIBUTE((format(printf, 1, 2)));
int(* xcom_debugger_check)(const int64_t debug_options)
Definition: xcom_logger.h:78
void(* xcom_debugger)(const char *format,...)
Definition: xcom_logger.h:76
static const char *const xcom_log_levels[]
Definition: xcom_logger.h:44
xcom_log_level_t
Definition: xcom_logger.h:37
@ XCOM_LOG_INFO
Definition: xcom_logger.h:41
@ XCOM_LOG_ERROR
Definition: xcom_logger.h:39
@ XCOM_LOG_FATAL
Definition: xcom_logger.h:38
@ XCOM_LOG_WARN
Definition: xcom_logger.h:40
gcs_xcom_debug_option_t
Definition: xcom_logger.h:61
@ XCOM_DEBUG_TRACE
Definition: xcom_logger.h:66
@ GCS_DEBUG_TRACE
Definition: xcom_logger.h:64
@ GCS_INVALID_DEBUG
Definition: xcom_logger.h:69
@ GCS_DEBUG_MSG_FLOW
Definition: xcom_logger.h:67
@ GCS_DEBUG_ALL
Definition: xcom_logger.h:70
@ XCOM_DEBUG_MSG_FLOW
Definition: xcom_logger.h:68
@ GCS_DEBUG_BASIC
Definition: xcom_logger.h:63
@ XCOM_DEBUG_BASIC
Definition: xcom_logger.h:65
@ GCS_DEBUG_NONE
Definition: xcom_logger.h:62
void(* xcom_logger)(const int64_t level, const char *message)
Definition: xcom_logger.h:75