const virtual class std::LogRec

sys::Obj
  std::LogRec

LogRec all the information of a single logging event. See docLang::Logging for 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.