AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Logger.h"
Public Member Functions | |
Logger (std::string const &name, LogLevel level) | |
void | addAppender (uint8 type, Appender *appender) |
void | delAppender (uint8 type) |
std::string const & | getName () const |
LogLevel | getLogLevel () const |
void | setLogLevel (LogLevel level) |
void | write (LogMessage *message) const |
Private Attributes | |
std::string | name |
LogLevel | level |
std::unordered_map< uint8, Appender * > | appenders |
Logger::Logger | ( | std::string const & | name, |
LogLevel | level | ||
) |
References appenders.
Referenced by Log::ReadLoggersFromConfig().
LogLevel Logger::getLogLevel | ( | ) | const |
void Logger::write | ( | LogMessage * | message | ) | const |
References appenders, level, and LogMessage::text.
Referenced by LogOperation::call(), and Log::write().
Referenced by addAppender(), delAppender(), and write().
|
private |
Referenced by getLogLevel(), setLogLevel(), and write().
|
private |
Referenced by getName().