Module BatLog.Make_lev

Make your own level-based logger, like Easy

Parameters

module L : Level_sig
module S : Config

Signature

val level : L.t ref
val output : S.t BatIO.output ref
val log : ?fp:string -> L.t -> string -> unit
val logf : ?fp:string -> L.t -> ('aS.t BatIO.output, unit) format -> 'a