package tezos-base

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Internal_event_unix.ConfigurationSource

include module type of struct include Tezos_base.Internal_event_config end

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

Sourceval default : t

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

Sourceval encoding : t Data_encoding.t

The serialization format.

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

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

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

Parse a json file at path into a configuration.

OCaml

Innovation. Community. Security.