MySQL 8.4.2
Source Code Documentation
Log::Log_buff Class Reference
Inheritance diagram for Log::Log_buff:
[legend]

Public Member Functions

 Log_buff (std::ostream &str, std::string &logc)
 
void set_log_class (std::string &s)
 
void enabled (bool s)
 
bool is_enabled ()
 
int sync () override
 

Private Attributes

std::ostream & m_os
 
std::string m_logc
 
bool m_enabled
 

Constructor & Destructor Documentation

◆ Log_buff()

Log::Log_buff::Log_buff ( std::ostream &  str,
std::string &  logc 
)
inline

Member Function Documentation

◆ enabled()

void Log::Log_buff::enabled ( bool  s)
inline

◆ is_enabled()

bool Log::Log_buff::is_enabled ( )
inline

◆ set_log_class()

void Log::Log_buff::set_log_class ( std::string &  s)
inline

◆ sync()

int Log::Log_buff::sync ( )
override

Member Data Documentation

◆ m_enabled

bool Log::Log_buff::m_enabled
private

◆ m_logc

std::string Log::Log_buff::m_logc
private

◆ m_os

std::ostream& Log::Log_buff::m_os
private

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