#include "MsgLogger/MsgLogger.h"
#include "MsgLogger/MsgLoggerImpl.h"
Go to the source code of this file.
Namespaces | |
namespace | MsgLogger |
Functions | |
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 | |
void | MsgLogger::propagate (bool flag) |
define wheter or not we need messages propagated to ancestors | |
void | MsgLogger::addHandler (MsgHandler *handler) |
add a handler for the messages, takes ownership of the object | |
bool | MsgLogger::logging (MsgLogLevel sev) const |
check if the specified level will log any message | |
bool | MsgLogger::log (const MsgLogRecord &record) const |
get the stream for the specified log level |