Skip to content
FutureBlitz

    Install

    Import std.log.output

    LogRecord

    std.log.output

    struct

    Public Struct LogRecord

    A line, as a Logger gives it to its output's sinks.

    std/log/output.fb, line 44

    • Public ReadOnly Field Time: Timestamp field #

      When it was written.

    • Public ReadOnly Field Level: LogLevel field #

      How much it matters.

    • Public ReadOnly Field Module: String field #

      The module of the Logger that wrote it.

    • Public ReadOnly Field Message: String field #

      What it says.

    • Public ReadOnly Field Fields: ImmutableArray<LogField> field #

      Its fields, the Logger's and its own.

    • Public New(time: Timestamp, level: LogLevel, module: String, message: String) constructor #

      A line of message, at level, from module, at time, without fields.

    • Public New(time: Timestamp, level: LogLevel, module: String, message: String, fields: ImmutableArray<LogField>) constructor #

      A line of message, at level, from module, at time, with fields.

    Report an issue with this page or with FutureBlitz on GitHub.