package devkit

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Log.StateSource

Global logger state

Sourceval default_level : Logger.level ref
Sourceval utc_timezone : bool ref
Sourceval facility : string -> Logger.facil
Sourceval set_filter : ?name:??? -> Logger.level -> unit
Sourceval set_loglevels : string -> unit
Sourceval read_env_config : ?env:??? -> unit -> unit
Sourceval output_ch : out_channel -> string -> unit
Sourceval format_simple_full : [< `Critical | `Debug | `Error | `Info | `Nothing | `Warn ] -> Logger.facil -> float -> Logger.Pairs.t -> string -> string
Sourceval format_logfmt : [< `Critical | `Debug | `Error | `Info | `Nothing | `Warn ] -> Logger.facil -> float -> Logger.Pairs.pair list -> string -> string
Sourceval get_cur_format : unit -> [ `Logfmt | `Plain ] * (Logger.level -> Logger.facil -> float -> Logger.Pairs.t -> string -> string)
Sourceval is_structured_format : unit -> bool
Sourceval set_plaintext : unit -> unit
Sourceval set_logfmt : unit -> unit
Sourceval format : Logger.level -> Logger.facil -> float -> Logger.Pairs.t -> string -> string
Sourceval format_simple : Logger.level -> Logger.facil -> string -> string
Sourceval log_ch : out_channel
Sourceval base_name : string ref
Sourceval hook : (Logger.level -> Logger.facil -> string -> unit) ref
Sourceval output_simple : Logger.level -> Logger.facil -> string -> unit
Sourceval logger_target : Logger.target

Main logger

Sourceval logger : Logger.t
Sourceval self : string
Sourceval reopen_log_ch : ?self_call:??? -> string -> unit