Legend:
Library
Module
Module type
Parameter
Class
Class type
Program log.
Support for program logging. Not to be used by build logic.
The module is modelled after Logs logging, see this quick introduction. It can be made to log on a Logs source, see here.
FIXME This should maybe moved to B0_ui. Make the doc self contained (cf. references to Logs).
Reporting levels
type level =
| Quiet
| App
| Error
| Warning
| Info
| Debug
The type for reporting levels. They are meant to be used as follows:
Quiet doesn't report anything.
App can be used for the standard output or console of an application. Using this instead of stdout directly allows the output to be silenced by Quiet which may be desirable, or not.
Error is an error condition that prevents the program from running.
Warning is a suspicious condition that does not prevent the program from running normally but may eventually lead to an error condition.
Info is a condition that allows the program user to get a better understanding of what the program is doing.
Debug is a condition that allows the program developer to get a better understanding of what the program is doing.