Skip to content

Make SEVERITY a enum? #40

@laeubi

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions