MySQL 9.1.0
Source Code Documentation
pfs_telemetry_logs_client_provider.h File Reference

Performance schema instrumentation (declarations). More...

#include <mysql/components/services/bits/server_telemetry_logs_bits.h>
#include <sys/types.h>
#include "my_psi_config.h"
#include "my_inttypes.h"
#include "my_macros.h"

Go to the source code of this file.

Macros

#define PSI_LOGS_CLIENT_CALL(M)   pfs_##M##_v1
 

Functions

void pfs_register_logger_client_v1 (PSI_logger_info_v1 *info, size_t count, const char *category)
 
void pfs_unregister_logger_client_v1 (PSI_logger_info_v1 *info, size_t count)
 
PSI_logger * pfs_check_enabled_v1 (PSI_logger_key key, OTELLogLevel level)
 
void pfs_log_emit_v1 (PSI_logger *logger, OTELLogLevel level, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count)
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_LOGS_CLIENT_CALL

#define PSI_LOGS_CLIENT_CALL (   M)    pfs_##M##_v1

Function Documentation

◆ pfs_check_enabled_v1()

PSI_logger * pfs_check_enabled_v1 ( PSI_logger_key  key,
OTELLogLevel  level 
)

◆ pfs_log_emit_v1()

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

◆ pfs_register_logger_client_v1()

void pfs_register_logger_client_v1 ( PSI_logger_info_v1 info,
size_t  count,
const char *  category 
)

◆ pfs_unregister_logger_client_v1()

void pfs_unregister_logger_client_v1 ( PSI_logger_info_v1 info,
size_t  count 
)