#include <ULogger.h>

Public Member Functions | |
| virtual std::string | getClassName () const |
| const std::string & | getMsg () const |
| ULogEvent (const std::string &msg, int level) | |
| virtual | ~ULogEvent () |
Private Attributes | |
| std::string | msg_ |
This class is used by the ULogger to send logged messages like events. Messages with level over the event level set in ULogger::setEventLevel() are sent like ULogEvent with the message and its level. The default event level of ULogger is kFatal (see ULogger::Level).
| ULogEvent::ULogEvent | ( | const std::string & | msg, |
| int | level | ||
| ) | [inline] |
ULogEvent constructor. Note that to retrieve the message level, use UEvent::getCode().
| msg | the message already formatted to a full string. |
| level | the severity of the message, |
| virtual ULogEvent::~ULogEvent | ( | ) | [inline, virtual] |
| virtual std::string ULogEvent::getClassName | ( | ) | const [inline, virtual] |
| const std::string& ULogEvent::getMsg | ( | ) | const [inline] |
std::string ULogEvent::msg_ [private] |