sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Easy_logging.HandlersSourceDefault implementation of a Handlers module.
This is the Handlers module. It provides simple yet adaptable handlers implementation.
type t = {mutable fmt : log_formatter;mutable level : Easy_logging__.Easy_logging_types.level;mutable filters : filter list;output : out_channel;}type of a handler
A handler is made of:
out_channel, where log strings are outputed by the function Pervasives.output_string.Auxiliary functions.
Human readable log messages, with level depending colors.
Used for quick handler creation, e.g.
Cli handler: outputs colored messages to stdout
let h = Handlers.make (Cli Debug) File handler : outputs messages to a given file
let h = Handlers.make (File ("filename", Debug)) Sets the level of a handler.
Sets the formatter of a handler.