MySQL 8.0.39
Source Code Documentation
Event Class Reference

libevent global state management More...

#include <http_common.h>

Public Types

enum class  Log { Debug , Error , Warning , Message }
 
enum class  DebugLogLevel : uint32_t { None = 0 , All = ~(uint32_t)0 }
 
using CallbackLog = void(*)(const Log log, const char *message)
 

Public Member Functions

 Event ()=delete
 

Static Public Member Functions

static bool initialize_threads ()
 
static void shutdown ()
 
static void set_log_callback (const CallbackLog)
 
static void enable_debug_logging (const DebugLogLevel which)
 
static bool has_ssl ()
 

Static Public Attributes

static CallbackLog cbLog_ = nullptr
 

Detailed Description

libevent global state management

Member Typedef Documentation

◆ CallbackLog

using Event::CallbackLog = void (*)(const Log log, const char *message)

Member Enumeration Documentation

◆ DebugLogLevel

enum class Event::DebugLogLevel : uint32_t
strong
Enumerator
None 
All 

◆ Log

enum class Event::Log
strong
Enumerator
Debug 
Error 
Warning 
Message 

Constructor & Destructor Documentation

◆ Event()

Event::Event ( )
delete

Member Function Documentation

◆ enable_debug_logging()

void Event::enable_debug_logging ( const DebugLogLevel  which)
static

◆ has_ssl()

bool Event::has_ssl ( )
static

◆ initialize_threads()

bool Event::initialize_threads ( )
static

◆ set_log_callback()

void Event::set_log_callback ( const CallbackLog  cb)
static

◆ shutdown()

void Event::shutdown ( )
static

Member Data Documentation

◆ cbLog_

Event::CallbackLog Event::cbLog_ = nullptr
static

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