#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 () |
Public Member Functions inherited from UEvent | |
int | getCode () const |
virtual | ~UEvent () |
Private Attributes | |
std::string | msg_ |
Additional Inherited Members | |
Protected Member Functions inherited from UEvent | |
UEvent (int code=0) | |
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).
|
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, |
|
inlinevirtual |
|
inline |
|
private |