package riot

  1. Overview
  2. Docs
type level =
  1. | Debug
  2. | Error
  3. | Info
  4. | Trace
  5. | Warn
type ('a, 'b) logger_format = (('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a) -> 'b
module type Intf = sig ... end
include Application.Intf
val start : unit -> (Pid.t, [> `Application_error of string | `Supervisor_error ] as 'err) Stdlib.result
type opts = {
  1. print_source : bool;
  2. print_time : bool;
  3. color_output : bool;
}
type namespace = string list
module type Namespace = sig ... end
module Make (_ : Namespace) : Intf
include Intf
val set_log_level : level option -> unit
val debug : ('a, unit) logger_format -> unit
val error : ('a, unit) logger_format -> unit
val info : ('a, unit) logger_format -> unit
val trace : ('a, unit) logger_format -> unit
val warn : ('a, unit) logger_format -> unit
OCaml

Innovation. Community. Security.