MySQL 9.1.0
Source Code Documentation
Collaboration diagram for Logger Client Instrumentation (API):

Classes

class  PSI_LogRecord
 C++ wrapper for emitting a telemetry log record. More...
 
class  PSI_SimpleLogger
 C++ wrapper for emitting one or more simple (no attributes) telemetry log records. More...
 

Macros

#define mysql_log_client_register(P1, P2, P3)    inline_mysql_log_client_register(P1, P2, P3)
 Registration of logger clients. More...
 
#define mysql_log_client_unregister(P1, P2)    inline_mysql_log_client_unregister(P1, P2)
 Logger client unregistration. More...
 
#define mysql_log_client_check_enabled(P1, P2)    inline_mysql_log_client_check_enabled(P1, P2)
 Logger client check if log level is enabled for this logger. More...
 
#define mysql_log_client_log(P1, P2, P3, P4, P5, P6)    inline_mysql_log_client_log(P1, P2, P3, P4, P5, P6)
 Emit log record. More...
 

Functions

static void inline_mysql_log_client_register (PSI_logger_info_v1 *info, size_t count, const char *category)
 
static void inline_mysql_log_client_unregister (PSI_logger_info_v1 *info, size_t count)
 
static PSI_logger * inline_mysql_log_client_check_enabled (PSI_logger_key key, OTELLogLevel level)
 
static void inline_mysql_log_client_log (PSI_logger *logger, OTELLogLevel level, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count)
 

Detailed Description

Macro Definition Documentation

◆ mysql_log_client_check_enabled

#define mysql_log_client_check_enabled (   P1,
  P2 
)     inline_mysql_log_client_check_enabled(P1, P2)

Logger client check if log level is enabled for this logger.

◆ mysql_log_client_log

#define mysql_log_client_log (   P1,
  P2,
  P3,
  P4,
  P5,
  P6 
)     inline_mysql_log_client_log(P1, P2, P3, P4, P5, P6)

Emit log record.

◆ mysql_log_client_register

#define mysql_log_client_register (   P1,
  P2,
  P3 
)     inline_mysql_log_client_register(P1, P2, P3)

Registration of logger clients.

◆ mysql_log_client_unregister

#define mysql_log_client_unregister (   P1,
  P2 
)     inline_mysql_log_client_unregister(P1, P2)

Logger client unregistration.

Function Documentation

◆ inline_mysql_log_client_check_enabled()

static PSI_logger * inline_mysql_log_client_check_enabled ( PSI_logger_key  key,
OTELLogLevel  level 
)
inlinestatic

◆ inline_mysql_log_client_log()

static void inline_mysql_log_client_log ( PSI_logger *  logger,
OTELLogLevel  level,
const char *  message,
time_t  timestamp,
const log_attribute_t attr_array,
size_t  attr_count 
)
inlinestatic

◆ inline_mysql_log_client_register()

static void inline_mysql_log_client_register ( PSI_logger_info_v1 info,
size_t  count,
const char *  category 
)
inlinestatic

◆ inline_mysql_log_client_unregister()

static void inline_mysql_log_client_unregister ( PSI_logger_info_v1 info,
size_t  count 
)
inlinestatic