package dose3

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

Module Util.DebugSource

Debug, Info and Warning messages are printed immediately on stderr. * Info messages are enabled per default. Debug and Warning messages * must be enabled explicitely

Sourcetype t
Sourceval create : ?enabled:bool -> label -> t

create a new message handle with label t . * Printing is disabled per default

Sourceval eprintf : ?raw:bool -> t -> ('a, unit, string, unit) format4 -> 'a

Print the message on stderr if the Util module has been * set to verbose using the function make_verbose and * either the handle t is enable or all handles were enabled with * the function all_enabled

Sourceval enable : label -> unit

enable l the handle with label l

Sourceval disable : label -> unit

disable l the handle with label l

Sourceval all_disabled : unit -> unit

disable all handles in the module

Sourceval all_enabled : unit -> unit

enable all handles in the module

Sourceval avalaible : unit -> label list

return the list of all labels known to the module

Sourceval is_enabled : label -> bool
OCaml

Innovation. Community. Security.