cee::LogEvent

class LogEvent

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.

Public Functions

Str source() const

Returns the log event source.

int level() const

Returns the log event level.

Log levels are 1=error, 2=warning, 3=info and 4=debug.

Str message() const

Returns the log message.

CodeLocation location() const

Returns the location of the message.