MySQL  8.0.21
Source Code Documentation
Ldap_logger Class Reference

#include <log_client.h>

Public Member Functions

 Ldap_logger ()
 
 ~Ldap_logger ()
 
template<ldap_log_type::ldap_type type>
void log (std::string msg)
 
void set_log_level (ldap_log_level level)
 

Private Attributes

Ldap_log_writer_errorm_log_writer
 
ldap_log_level m_log_level
 

Constructor & Destructor Documentation

◆ Ldap_logger()

Ldap_logger::Ldap_logger ( )

◆ ~Ldap_logger()

Ldap_logger::~Ldap_logger ( )

Member Function Documentation

◆ log()

template<ldap_log_type::ldap_type type>
void Ldap_logger::log ( std::string  msg)

We can write debug messages also in error log file if logging level is set to debug. For MySQL client this will come from environment variable

◆ set_log_level()

void Ldap_logger::set_log_level ( ldap_log_level  level)

Member Data Documentation

◆ m_log_level

ldap_log_level Ldap_logger::m_log_level
private

◆ m_log_writer

Ldap_log_writer_error* Ldap_logger::m_log_writer
private

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