type

LogRec

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

const Err? err

Exception if applicable

level

const LogLevel level

Severity level of event

logName

const Str logName

Name of Log which generated the event

make

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

Constructor with all the fields

msg

const Str msg

Message text event

print

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

Print to the specified output stream.

time

const DateTime time

Timestamp of log event

toStr

virtual override Str toStr()

Return standard log format.