Class Cf_journal.basic_prioritizer

class [[> Basic.level ]] basic_prioritizer : object .. end

The basic prioritizer class, defining the priority codes and message tags for all of the basic priority levels: `Invalid, `Fail, `Error, `Warn, `Info and `Debug. Derive a subclass to define a prioritizer for additional priority levels corresponding to other integer codes.


method code : ([> Basic.level ] as 'a) -> Basic.Priority.t

Returns the integer corresponding to the priority level.

method tag : 'a -> string

Returns the message tag corresponding to the priority level.