package ppx_minidebug

  1. Overview
  2. Docs

The logged traces will be indented using OCaml's `Format` module.

Parameters

module _ : Debug_ch

Signature

val close_log : unit -> unit
val open_log_preamble_brief : fname:string -> pos_lnum:int -> pos_colnum:int -> message:string -> entry_id:int -> unit
val open_log_preamble_full : fname:string -> start_lnum:int -> start_colnum:int -> end_lnum:int -> end_colnum:int -> message:string -> entry_id:int -> unit
val log_value_sexp : ?descr:string -> entry_id:int -> is_result:bool -> Sexplib0.Sexp.t -> unit
val log_value_pp : ?descr:string -> entry_id:int -> pp:(Format.formatter -> 'a -> unit) -> is_result:bool -> 'a -> unit
val log_value_show : ?descr:string -> entry_id:int -> is_result:bool -> string -> unit
val exceeds_max_nesting : unit -> bool
val exceeds_max_children : unit -> bool
val get_entry_id : unit -> int
val max_nesting_depth : int option ref
val max_num_children : int option ref
OCaml

Innovation. Community. Security.