Module Merlin_utils.Logger
Log 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) Stdlib.format4 ->
'bval fmt : unit -> (Stdlib.Format.formatter -> unit) -> stringval json : unit -> (unit -> Merlin_utils.Std.json) -> stringval notify : section:string -> ('b, unit, string, unit) Stdlib.format4 -> 'bval with_notifications :
Merlin_utils.Logger.notification list Stdlib.ref ->
(unit -> 'a) ->
'atype 'a printf = title:string -> ('a, unit, string, unit) Stdlib.format4 -> 'aval for_section : string -> Merlin_utils.Logger.logger