Merlin_utils.LoggerLog module * * 1. Provide functions to log arbitrary messages, filtered according to a * section and a verbosity level. * * 2. Allow to setup a destination for these log messages. * *
val log :
section:string ->
title:string ->
('b, unit, string, unit) format4 ->
'bval fmt : unit -> (Format.formatter -> unit) -> stringval json : unit -> (unit -> Std.json) -> stringval notify : section:string -> ('b, unit, string, unit) format4 -> 'bval with_notifications : notification list ref -> (unit -> 'a) -> 'atype 'a printf = title:string -> ('a, unit, string, unit) format4 -> 'aval for_section : string -> logger