Skip to content

LogRecord

1 min read

Import: import system.logging;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

LogRecord

One log event ready for handlers.

public class LogRecord

level

Severity of this record.

public level: LogLevel

name

Logger name that produced this record.

public name: string

message

Message text.

public message: string

timestamp_ms

UTC epoch milliseconds when the record was created.

public timestamp_ms: long