# Module Cf_journal.Basic

    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 = [ `Invalid ]

The priority level for events indicating that an internal program function has been called with invalid arguments. Code=7000.

    type fail = [ `Fail ]

The priority level for events indicating that an internal program function has failed, results may have been lost and recovery is not expected. Code=6000.

    type error = [ `Error ]

The priority level for events indicating that a program has encountered invalid input. The program is expected to recover and continue processing further valid input correctly. Code=5000.

    type warn = [ `Warn ]

The priority level for events indicating that a program has encountered unexpected input, indicating that an external process may have failed. The program is expected to continue processing further input normally. Code=4000.

    type notice = [ `Notice ]

The priority level for events indicating exceptional information about the processing of the program useful for diagnosing external processes. Code=2000.

    type info = [ `Info ]

The priority level for events indicating normal information about the processing of the program useful for diagnosing external processes. Code=2000.

    type debug = [ `Debug ]

The priority level for events describing internal processing of the program for the purpose of diagnosing programming errors. Code=1000.

    type basic = [ `Debug | `Error | `Fail | `Info | `Invalid | `Notice | `Warn ]

The priority levels corresponding to events that the basic agent has public methods for journaling.

    type enable = [ `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 = [ `All | `Debug | `Error | `Fail | `Info | `Invalid | `None | `Notice | `Warn
           ]

The sum of all basic priority levels.