package dolog

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type log_level =
  1. | FATAL
  2. | ERROR
  3. | WARN
  4. | INFO
  5. | DEBUG
val string_of_level : log_level -> string
val level_of_string : string -> log_level
val set_log_level : log_level -> unit
val get_log_level : unit -> log_level
val set_output : Pervasives.out_channel -> unit
module type S = sig ... end
val log : log_level -> ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val fatal : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val error : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val warn : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val info : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val debug : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val color_on : unit -> unit
val color_off : unit -> unit
val set_color_mapping : (log_level -> string) -> unit
module type SECTION = sig ... end
module Make (Section : SECTION) : S
OCaml

Innovation. Community. Security.