Skip to content

Documentation: std.logger: trace() not works by default #10858

@denizzzka

Description

@denizzzka

Unlike other logging methods, trace() doesn't outputs anything even if globalLogLevel is set without specifying this magic line:

(cast()sharedLog).logLevel = LogLevel.trace;

This is very deeply buried knowledge and I didn't find this in the documentation
Why is it designed by this way? Can anyone improve documentation at this direction?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions