Skip to content

Should wasi-logging have a "critical" or "fatal" log level? #9

@sunfishcode

Description

@sunfishcode

The README file has an explanation of why there is no "critical" or "fatal" log level. In short, the answer is that programs should just use the "error" level and follow it with a trap or an exit if that's what's desired.

However, as noted in the README, log4j, Ruby's, Python, and .NET all do have a "critical" level, so it's worth considering the alternative.

Is there a use case for marking log levels as critical, where it's desirable to do something different than a regular error plus a trap or exit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions