Skip to content
FutureBlitz

    Install

    Import std.log.sinks

    JsonLine

    std.log.sinks

    function

    Public Function JsonLine(record: LogRecord): String

    The line as JSON lines have it: an object of its "time", "level", "module", and "message", and then its fields, a number's or a Bool's as it is, each in the order it has them: {"time":"2026-10-24T04:12:00.123Z","level":"info","module":"net","message":"up","port":443}.

    std/log/sinks.fb, line 82

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