Skip to content
FutureBlitz

    Install

    Import std.log.logger

    DefaultLogOutput

    std.log.logger

    function

    Public Function DefaultLogOutput(): LogOutput

    The default output, made the first time a Logger uses it: the console's sink, at the levels FB_LOG sets, or at INFO when it isn't set. An FB_LOG that isn't a filter is said once on stderr, and left out.

    Examples

    Local output = DefaultLogOutput()
    // FB_LOG sets its levels, INFO without it, and an ERROR is written but where it's off.
    Expect(output == DefaultLogOutput())

    std/log/logger.fb, line 31

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