Skip to content

Default Lvl is LvlCrit #157

@kevinburke1

Description

@kevinburke1

If I write var x log15.Lvl there's not a good way to distinguish between unset and Crit, since Crit is 0.

The usual way to handle this with protobufs is to set e.g. LvlUnknown as the first iota value. Unfortunately that's probably a breaking change now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions