package owi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Module to enable or disable the printing of debug logs.

val debug_on : bool ref

wether debug printing is enabled or not

val profiling_on : bool ref

wether profiling printing is enabled or not

val debug0 : (unit, Format.formatter, unit) format -> unit

print some debug info

val debug1 : ('a -> unit, Format.formatter, unit) format -> 'a -> unit
val debug2 : ('a -> 'b -> unit, Format.formatter, unit) format -> 'a -> 'b -> unit
val debug5 : ('a -> 'b -> 'c -> 'd -> 'e -> unit, Format.formatter, unit) format -> 'a -> 'b -> 'c -> 'd -> 'e -> unit
val profile3 : ('a -> 'b -> 'c -> unit, Format.formatter, unit) format -> 'a -> 'b -> 'c -> unit

print some profiling info

val err : ('a, Format.formatter, unit, 'b) format4 -> 'a

print some error and exit

OCaml

Innovation. Community. Security.