package jhupllib

  1. Overview
  2. Docs
type level = [
  1. | `trace
  2. | `debug
  3. | `info
  4. | `warn
  5. | `error
  6. | `fatal
  7. | `always
]
val level_of_string : string -> level option
val set_default_logging_level : level -> unit
val set_logging_level_for : string -> level -> unit
val make_logger : string -> level -> string -> unit
val make_lazy_logger : string -> level -> (unit -> string) -> unit
val bracket_log : (string -> unit) -> string -> ('a -> string) -> (unit -> 'a) -> 'a
val lazy_bracket_log : ((unit -> string) -> unit) -> (unit -> string) -> ('a -> string) -> (unit -> 'a) -> 'a
OCaml

Innovation. Community. Security.