package sihl-core

  1. Overview
  2. Docs
val get_log_level : unit -> Logs.level option
val logs_dir : unit -> string
val lwt_file_reporter : unit -> Logs.reporter
val app_style : [> `Cyan ]
val err_style : [> `Red ]
val warn_style : [> `Yellow ]
val info_style : [> `Blue ]
val debug_style : [> `Green ]
val source_style : [> `Magenta ]
val pp_header : pp_h: (Format.formatter -> [> `Blue | `Green | `Red | `Yellow ] -> string -> unit) -> Format.formatter -> (Logs.level * string option) -> unit
val pp_source : string Fmt.t
val pp_exec_header : Logs.src -> Format.formatter -> (Logs.level * string option) -> unit
val format_reporter : ?pp_header: (Logs.src -> Format.formatter -> (Logs.level * string option) -> unit) -> ?app:Format.formatter -> ?dst:Format.formatter -> unit -> Logs.reporter
val cli_reporter : ?pp_header: (Logs.src -> Format.formatter -> (Logs.level * string option) -> unit) -> ?app:Format.formatter -> ?dst:Format.formatter -> unit -> Logs.reporter
val default_reporter : Logs.reporter
OCaml

Innovation. Community. Security.