Skip to content

Assert by level #3647

Closed
Closed
@graydon

Description

@graydon

Given the current (and potentially permanent) absence of typestate, enabling and disabling assertions by severity is a more reasonable requirement. Some assertions make more sense when in testing than in production. We should support (when we switch assertions to macros / library calls) passing a "level" parameter the same way the logging system can be parameterized by level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-lowLow priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions