MySQL 8.0.39
Source Code Documentation
log_client.h File Reference
#include <stdio.h>
#include <iostream>
#include <sstream>

Go to the source code of this file.

Classes

struct  log_client_type
 
class  Logger_client
 

Macros

#define log_client_dbg   g_logger_client->log<log_client_type::LOG_CLIENT_DBG>
 
#define log_client_info   g_logger_client->log<log_client_type::LOG_CLIENT_INFO>
 
#define log_client_warning   g_logger->log<log_client_type::LOG_CLIENT_WARNING>
 
#define log_client_error   g_logger_client->log<log_client_type::LOG_CLIENT_ERROR>
 

Enumerations

enum  log_client_level {
  LOG_CLIENT_LEVEL_NONE = 1 , LOG_CLIENT_LEVEL_ERROR , LOG_CLIENT_LEVEL_ERROR_WARNING , LOG_CLIENT_LEVEL_ERROR_WARNING_INFO ,
  LOG_CLIENT_LEVEL_ALL
}
 

Variables

Logger_clientg_logger_client
 

Macro Definition Documentation

◆ log_client_dbg

#define log_client_dbg   g_logger_client->log<log_client_type::LOG_CLIENT_DBG>

◆ log_client_error

#define log_client_error   g_logger_client->log<log_client_type::LOG_CLIENT_ERROR>

◆ log_client_info

#define log_client_info   g_logger_client->log<log_client_type::LOG_CLIENT_INFO>

◆ log_client_warning

#define log_client_warning   g_logger->log<log_client_type::LOG_CLIENT_WARNING>

Enumeration Type Documentation

◆ log_client_level

Enumerator
LOG_CLIENT_LEVEL_NONE 
LOG_CLIENT_LEVEL_ERROR 
LOG_CLIENT_LEVEL_ERROR_WARNING 
LOG_CLIENT_LEVEL_ERROR_WARNING_INFO 
LOG_CLIENT_LEVEL_ALL 

Variable Documentation

◆ g_logger_client

Logger_client* g_logger_client
extern