package ppx_minidebug

  1. Overview
  2. Docs

When using the ppx_minidebug syntax extension, provide a module called Debug_runtime with this signature in scope of the instrumented code.

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:(Stdlib.Format.formatter -> 'a -> unit) -> v:'a -> unit
val log_value_show : descr:string -> v:string -> unit
OCaml

Innovation. Community. Security.