package owi

  1. Overview
  2. Docs

Module to enable or disable the printing of debug logs.

val debug_on : bool Stdlib.ref

wether debug printing is enabled or not

val debug : ('a, Stdlib.Format.formatter, unit) Stdlib.format -> 'a

print some debug info

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

print some error and exit