package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.20261006.tar.gz
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242

doc/devkit.core/Devkit_core/Log/State/index.html

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