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 -> string Lazy.t -> unit
val fatal : string Lazy.t -> unit
val error : string Lazy.t -> unit
val warn : string Lazy.t -> unit
val info : string Lazy.t -> unit
val debug : string Lazy.t -> unit
val logf : log_level -> ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val fatalf : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val errorf : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val warnf : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val infof : ('a, Pervasives.out_channel, unit, unit) Pervasives.format4 -> 'a
val debugf : ('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.