Skip to content

Make SEVERITY a enum? #40

Closed
Closed

Description

@laeubi

Currently there are

 /** Constant <code>SEVERITY_WARNING=1</code> */
  int SEVERITY_WARNING = 1;

  /** Constant <code>SEVERITY_ERROR=2</code> */
  int SEVERITY_ERROR = 2;

it might be better to have these (together with INFO and probably DEBUG see #20 )as an Enum to make the code more type safe

Activity

  1. michael-o commented on Jan 9, 2023

    @michael-o
    Member

    Yes, this is quite old style...

  2. added
    enhancement
    breaking
    on Jan 6, 2025
  3. laeubi commented on Oct 28, 2025

    @laeubi
    CollaboratorAuthor

    Implemented with new messages API see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

breakingenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions