Module Tracelog.Make

Parameters

module Category : sig ... end

Signature

val result : 'a log -> unit

Printing from most to least important.

val error : 'a log -> unit
val warning : 'a log -> unit
val feedback : int -> 'a log -> unit
val debug : 'a log -> unit
val fatal : 'a log -> 'b

Classic error messages.

val not_yet_implemented : 'a log -> unit

Tracing functions.

val trace : 'a log -> (Stdlib.Format.formatter -> 'b -> unit) -> (unit -> 'b) -> 'b

trace log pp_ret f first display log, then executes f and prints its return value using pp_ret.