MySQL 9.1.0
Source Code Documentation
log_attribute_t Struct Reference

#include <server_telemetry_attribute_bits.h>

Public Member Functions

void set_bool (const char *attr_name, bool v)
 
void set_int32 (const char *attr_name, int32_t v)
 
void set_uint32 (const char *attr_name, uint32_t v)
 
void set_int64 (const char *attr_name, int64_t v)
 
void set_uint64 (const char *attr_name, uint64_t v)
 
void set_double (const char *attr_name, double v)
 
void set_string (const char *attr_name, const char *v)
 
void set_string_view (const char *attr_name, const char *v, size_t len)
 

Public Attributes

const char * name
 
enum log_attribute_type type
 
log_attribute_value value
 

Member Function Documentation

◆ set_bool()

void log_attribute_t::set_bool ( const char *  attr_name,
bool  v 
)
inline

◆ set_double()

void log_attribute_t::set_double ( const char *  attr_name,
double  v 
)
inline

◆ set_int32()

void log_attribute_t::set_int32 ( const char *  attr_name,
int32_t  v 
)
inline

◆ set_int64()

void log_attribute_t::set_int64 ( const char *  attr_name,
int64_t  v 
)
inline

◆ set_string()

void log_attribute_t::set_string ( const char *  attr_name,
const char *  v 
)
inline

◆ set_string_view()

void log_attribute_t::set_string_view ( const char *  attr_name,
const char *  v,
size_t  len 
)
inline

◆ set_uint32()

void log_attribute_t::set_uint32 ( const char *  attr_name,
uint32_t  v 
)
inline

◆ set_uint64()

void log_attribute_t::set_uint64 ( const char *  attr_name,
uint64_t  v 
)
inline

Member Data Documentation

◆ name

const char* log_attribute_t::name

◆ type

enum log_attribute_type log_attribute_t::type

◆ value

log_attribute_value log_attribute_t::value

The documentation for this struct was generated from the following file: