Module Tezos_base.Internal_event_config

Configure the event-logging framework.

The JSON-file-friendly definition of the configuration of the internal-events framework. It allows one to activate registered event sinks.

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 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.