package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val output : unit BatIO.output Pervasives.ref
val prefix : string Pervasives.ref
type flag = [
  1. | `Custom of unit -> string
  2. | `Date
  3. | `Filepos
  4. | `Time
]
val flags : flag list Pervasives.ref
val log : ?fp:string -> string -> unit
val logf : ?fp:string -> ('a, unit BatIO.output, unit) Pervasives.format -> 'a
val fatal : ?fp:string -> string -> 'a
val fatalf : ?fp:string -> ('a, unit BatIO.output, unit) Pervasives.format -> 'a
module type Config = sig ... end
module Make (S : Config) : sig ... end
val make_logger : 'a BatIO.output -> string -> [< `Custom of unit -> string | `Date | `Filepos | `Time ] list -> < fatal : ?fp:string -> string -> 'b ; fatalf : ?fp:string -> ('c, 'a BatIO.output, unit, unit, unit, 'd) Pervasives.format6 -> 'c ; log : ?fp:string -> string -> unit ; logf : ?fp:string -> ('e, 'a BatIO.output, unit) Pervasives.format -> 'e >
type easy_lev = [
  1. | `always
  2. | `debug
  3. | `error
  4. | `fatal
  5. | `info
  6. | `trace
  7. | `warn
]
module Easy : sig ... end
module type Level_sig = sig ... end
module Make_lev (L : Level_sig) (S : Config) : sig ... end
OCaml

Innovation. Community. Security.