MySQL 8.0.39
Source Code Documentation
test_trace::Logger Class Reference

Public Member Functions

 Logger ()
 
 Logger (MYSQL *conn)
 
void log (const char *format,...)
 
void dump (const char *key, const void *data, size_t len)
 

Private Member Functions

size_t header ()
 
void send ()
 

Private Attributes

unsigned long connection_id
 
char buffer [1024]
 
char * end
 

Constructor & Destructor Documentation

◆ Logger() [1/2]

test_trace::Logger::Logger ( )
inline

◆ Logger() [2/2]

test_trace::Logger::Logger ( MYSQL conn)
explicit

Member Function Documentation

◆ dump()

void test_trace::Logger::dump ( const char *  key,
const void *  data,
size_t  len 
)

◆ header()

size_t test_trace::Logger::header ( )
private

◆ log()

void test_trace::Logger::log ( const char *  format,
  ... 
)

◆ send()

void test_trace::Logger::send ( )
private

Member Data Documentation

◆ buffer

char test_trace::Logger::buffer[1024]
private

◆ connection_id

unsigned long test_trace::Logger::connection_id
private

◆ end

char* test_trace::Logger::end
private

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