MySQL 9.1.0
Source Code Documentation
|
C++ wrapper for emitting a telemetry log record. More...
#include <mysql_telemetry_logs_client.h>
Public Member Functions | |
PSI_LogRecord (PSI_logger_key key, OTELLogLevel level, const char *message) | |
bool | check_enabled () const |
void | add_attribute_bool (const char *name, bool value) |
void | add_attribute_string (const char *name, const char *value) |
void | add_attribute_string_view (const char *name, const char *value, size_t len) |
void | add_attribute_double (const char *name, double value) |
void | add_attribute_uint64 (const char *name, uint64_t value) |
void | emit () |
Protected Attributes | |
PSI_logger * | m_psi {nullptr} |
PSI_logger_key | m_logger_key |
OTELLogLevel | m_level |
const char * | m_message |
log_attribute_t | m_attrs [MAX_LOG_ATTRIBUTES] |
size_t | m_attr_count {0} |
C++ wrapper for emitting a telemetry log record.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |