MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventLoggerBase Class Reference
Inheritance diagram for EventLoggerBase:
Collaboration diagram for EventLoggerBase:

Classes

struct  EventRepLogLevelMatrix

Public Types

typedef void(* EventTextFunction )(char *, size_t, const Uint32 *, Uint32 len)

Static Public Member Functions

static int event_lookup (int eventType, LogLevel::EventCategory &cat, Uint32 &threshold, Logger::LoggerLevel &severity, EventTextFunction &textF)

Public Attributes

LogLevel m_logLevel

Static Public Attributes

static const EventRepLogLevelMatrix matrix []
static const Uint32 matrixSize

Detailed Description

Definition at line 26 of file EventLogger.hpp.

Member Typedef Documentation

typedef void(* EventLoggerBase::EventTextFunction)(char *, size_t, const Uint32 *, Uint32 len)

This matrix defines which event should be printed when

threshold - is in range [0-15] severity - DEBUG to ALERT (Type of log message)

Definition at line 41 of file EventLogger.hpp.

Member Data Documentation

LogLevel EventLoggerBase::m_logLevel

LogLevel settings

Definition at line 33 of file EventLogger.hpp.

const Uint32 EventLoggerBase::matrixSize
static
Initial value:
sizeof(EventLoggerBase::matrix)/sizeof(EventRepLogLevelMatrix)

Definition at line 52 of file EventLogger.hpp.


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