package ppx_minidebug

  1. Overview
  2. Docs

The output is flushed line-at-a-time, so no output should be lost if the traced program crashes. The logged traces are still indented, but if the values to print are multi-line, their formatting might be messy. The indentation is also smaller (half of PrintBox).

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 -> unit
val open_log_preamble_full : fname:string -> start_lnum:int -> start_colnum:int -> end_lnum:int -> end_colnum:int -> message:string -> unit
val log_value_sexp : descr:string -> sexp:Sexplib0.Sexp.t -> unit
val log_value_pp : descr:string -> pp:(Format.formatter -> 'a -> unit) -> v:'a -> unit
val log_value_show : descr:string -> v:string -> unit
val exceeds_max_nesting : unit -> bool
val exceeds_max_children : unit -> bool
OCaml

Innovation. Community. Security.