package sihl-core

  1. Overview
  2. Docs

Module Sihl_core.LogSource

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

Innovation. Community. Security.