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