package tezos-stdlib-unix

  1. Overview
  2. Docs
module Output : sig ... end
type cfg = {
  1. output : Output.t;
  2. default_level : Tezos_event_logging.Internal_event.level;
  3. rules : string option;
  4. template : Lwt_log_core.template;
}
val default_cfg : cfg
val create_cfg : ?output:Output.t -> ?default_level:Tezos_event_logging.Internal_event.level -> ?rules:string -> ?template:Lwt_log_core.template -> unit -> cfg
val cfg_encoding : cfg Data_encoding.t
val initialize : ?cfg:cfg -> unit -> unit Lwt.t

Configure the event-logging sink defined in Internal_event.Lwt_log_sink by merging the contents of ?cfg (default: default_cfg) and the value of the "TEZOS_LOG" environment variable.