type

LogRec

src const class LogRec : Obj

LogRec all the information of a single logging event. See Logging for details.

constructors

make

Constructor with all the fields

fields

err

Exception if applicable

level

Severity level of event

logName

Name of Log which generated the event

msg

Message text event

time

Timestamp of log event

methods

print

Print to the specified output stream.

toStr

Return standard log format.

Slot Details

err

src const Err? err

Exception if applicable

level

src const LogLevel level

Severity level of event

logName

src const Str logName

Name of Log which generated the event

make

src new make(DateTime time, LogLevel level, Str logName, Str message, Err? err := null)

Constructor with all the fields

msg

src const Str msg

Message text event

print

src Void print(OutStream out := Env.cur().out())

Print to the specified output stream.

time

src const DateTime time

Timestamp of log event

toStr

src virtual override Str toStr()

Return standard log format.