package riot

  1. Overview
  2. Docs
type namespace = string list
val start : ?print_time:bool -> ?print_source:bool -> ?color_output:bool -> unit -> (unit, [> `Supervisor_error ]) result

Start the logger application.

module type Namespace = sig ... end
module Make (_ : Namespace) : Logger
include Logger.Intf
val set_log_level : Logger.level option -> unit
val debug : ('a, unit) Logger.logger_format -> unit
val error : ('a, unit) Logger.logger_format -> unit
val info : ('a, unit) Logger.logger_format -> unit
val trace : ('a, unit) Logger.logger_format -> unit
val warn : ('a, unit) Logger.logger_format -> unit
OCaml

Innovation. Community. Security.