package tezos-stdlib-unix

  1. Overview
  2. Docs

Module Internal_event_unix.Configuration

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.

OCaml

Innovation. Community. Security.