Classes | |
class | MsgFormatter |
class | MsgHandler |
class | MsgHandlerStdStreams |
class | MsgLogger |
class | MsgLoggerImpl |
class | MsgLogLevel |
class | MsgLogRecord |
class | MsgLogStream |
Functions | |
std::ostream & | operator<< (std::ostream &o, MsgLogLevel sev) |
MsgLogger (const std::string &name) | |
void | setLevel (MsgLogLevel level) |
set the logger level, messages with the level below this won't be logged | |
void | propagate (bool flag) |
define wheter or not we need messages propagated to ancestors | |
void | addHandler (MsgHandler *handler) |
add a handler for the messages, takes ownership of the object | |
bool | logging (MsgLogLevel sev) const |
check if the specified level will log any message | |
bool | log (const MsgLogRecord &record) const |
get the stream for the specified log level |
std::ostream& MsgLogger::operator<< | ( | std::ostream & | o, | |
MsgLogLevel | sev | |||
) | [inline] |
MsgLogger::MsgLogger | ( | const std::string & | name | ) |
void MsgLogger::setLevel | ( | MsgLogLevel | level | ) |
set the logger level, messages with the level below this won't be logged
Definition at line 57 of file MsgLogger.cpp.
void MsgLogger::propagate | ( | bool | flag | ) |
define wheter or not we need messages propagated to ancestors
Definition at line 64 of file MsgLogger.cpp.
Referenced by readConfig().
void MsgLogger::addHandler | ( | MsgHandler * | handler | ) |
add a handler for the messages, takes ownership of the object
Definition at line 71 of file MsgLogger.cpp.
bool MsgLogger::logging | ( | MsgLogLevel | sev | ) | const |
bool MsgLogger::log | ( | const MsgLogRecord & | record | ) | const |