Reporting priority enum to store common values (IntEnum equivalent).
Priorities can be anything in the range of 0-100, where 100 is the highest priority.
Summary
Types
Functions
@spec critical() :: integer()
Returns 80 (Priority.CRITICAL).
@spec high() :: integer()
Returns 40 (Priority.HIGH).
@spec info() :: integer()
Returns 5 (Priority.INFO).
@spec low() :: integer()
Returns 10 (Priority.LOW).
@spec medium() :: integer()
Returns 20 (Priority.MEDIUM).
Converts a priority atom or integer into its integer value.