Small class describing a logged event. More...
Public Member Functions | |
Str | source () const |
Returns the log event source. More... | |
int | level () const |
Returns the log event level. More... | |
Str | message () const |
Returns the log message. More... | |
CodeLocation | location () const |
Returns the location of the message. More... | |
Small class describing a logged event.
The LogEvent stores the source of the event, the level and a message describing the event. Log levels are 1=error, 2=warning, 3=info and 4=debug.
int cee::LogEvent::level | ( | ) | const |
Returns the log event level.
Log levels are 1=error, 2=warning, 3=info and 4=debug.
CodeLocation cee::LogEvent::location | ( | ) | const |
Returns the location of the message.
cee::Str cee::LogEvent::message | ( | ) | const |
Returns the log message.
cee::Str cee::LogEvent::source | ( | ) | const |
Returns the log event source.