Skip to content

capnslog: get log level #51

@mischief

Description

@mischief

i'd like a function to get the current log level.

i want to increase the log level to TRACE for the duration of a test if t.Verbose() == true, but ideally there's a way to restore the old log level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions