Module Tracelog.Make
Standard functor: verbosity level is controlled by set_verbosity_level.
Parameters
module Category : sig ... endSignature
val error : 'a log -> unitPrinting from most to least important. info and debug levels are not printed by default.
val warning : 'a log -> unitval notice : 'a log -> unitval info : 'a log -> unitval debug : 'a log -> unitval fatal : 'a log -> 'bClassic error messages. Fatal will raise the Fatal exception.
val not_yet_implemented : 'a log -> unitval trace :
'a log ->
?loc:location ->
?bintrace:'c Syntax_tree.Location_identifier.t ->
?pp_ret:(Stdlib.Format.formatter -> 'b -> unit) ->
(unit -> 'b) ->
'btrace log pp_ret f first display log, then executes f and prints its return value using pp_ret.