package tezos-stdlib-unix

  1. Overview
  2. Docs
type t
val default : t

The default configuration is empty (it doesn't activate any sink).

val encoding : t Data_encoding.t

The serialization format.

val of_file : string -> t Tezos_error_monad.Error_monad.tzresult Lwt.t

Parse a json file at path into a configuration.

val apply : t -> unit Tezos_error_monad.Error_monad.tzresult Lwt.t

Run Tezos_base.Internal_event.All_sinks.activate for every URI in the configuration.

val reapply : t -> unit Tezos_error_monad.Error_monad.tzresult Lwt.t

Close all the sinks except "lwt-log://" and call apply.

OCaml

Innovation. Community. Security.