Module Imandra_util.Debug
Debug
module Channel : sig ... end
val set_debug : ?c:Channel.t -> ?level:int -> ?color:bool -> unit -> unit
Set debug level. Use
silent
to disable
val set_debug_l : ?color:bool -> string list -> int -> unit
set_debug_l names lvl
setslvl
on all channels in the list
val trace : ?c:Channel.t -> ?level:int -> string -> unit
Trace message with given level
val tracef : ?c:Channel.t -> ?level:int -> ((('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a) -> unit) -> unit
Trace message with given level. Example of usage:
tracef ~level:3 (fun k->k "hello %d" 42)
val emit_pp : ?c:Channel.t -> ?level:int -> pp:'a CCFormat.printer -> 'a -> unit
val emit_doc : ?c:Channel.t -> ?level:int -> Imandra_document.Document.t -> unit
module Debug_event : sig ... end