module Basic: sig
.. end
A module defining basic diagnostic event journaling with a simple set of
priority levels associated to integer priority codes.
include Cf_journal.T
Event journaling with integer priority codes.
type
invalid_t = [ `Invalid ]
The priority level for events indicating that an internal program
function has been called with invalid arguments. Code=6000.
type
fail_t = [ `Fail ]
The priority level for events indicating that an internal program
function is undefined for the given arguments. Code=5000.
type
error_t = [ `Error ]
The priority level for events indicating that a program has encountered
invalid input. The program may or may not be able to recover and
continue processing further input correctly. Code=4000.
type
warn_t = [ `Warn ]
The priority level for events indicating that a program has encountered
unexpected input. The program is expected to recover and continue
processing further input correctly. Code=3000.
type
info_t = [ `Info ]
The priority level for events indicating significant information about
the processing of the program useful for diagnosing external processes.
Code=2000.
type
debug_t = [ `Debug ]
The priority level for events describing internal processing of the
program for the purpose of diagnosing programming errors. Code=1000.
type
basic_t = [ `Debug | `Error | `Fail | `Info | `Invalid | `Warn ]
The priority levels corresponding to events that the basic agent has
public methods for journaling.
type
enable_t = [ `All | `None ]
Additional priority levels corresponding to limit levels in the basic
event prioritizer used for completely enabling or disabling all
messages. These levels do not have message tags defined.
type
level_t = [ `All | `Debug | `Error | `Fail | `Info | `Invalid | `None | `Warn ]
The sum of all basic priority levels.