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: (Stdlib.Format.formatter -> [> `Blue | `Green | `Red | `Yellow ] -> string -> unit) -> Stdlib.Format.formatter -> (Logs.level * string option) -> unit
val pp_source : string Fmt.t
val pp_exec_header : Logs.src -> Stdlib.Format.formatter -> (Logs.level * string option) -> unit
val format_reporter : ?pp_header: (Logs.src -> Stdlib.Format.formatter -> (Logs.level * string option) -> unit) -> ?app:Stdlib.Format.formatter -> ?dst:Stdlib.Format.formatter -> unit -> Logs.reporter
val cli_reporter : ?pp_header: (Logs.src -> Stdlib.Format.formatter -> (Logs.level * string option) -> unit) -> ?app:Stdlib.Format.formatter -> ?dst:Stdlib.Format.formatter -> unit -> Logs.reporter
val default_reporter : Logs.reporter