package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-libs.event-logging/Tezos_event_logging/Internal_event/All_sinks/index.html

Module Internal_event.All_sinksSource

Use All_sinks.register to add a new inactive sink, then All_sinks.activate to make it handle events.

Sourceval register : 'a sink_definition -> unit

Register a new sink (e.g. let () = Internal_event.All_sinks.register (module Sink_implementation)) for it to be available (but inactive) in the framework.

Make a registered sink active: the function finds it by URI scheme and calls configure.

Sourceval close : ?except:(Uri.t -> bool) -> unit -> unit Tezos_error_monad.Error_monad.tzresult Lwt.t

Call close on all the sinks, except the ones matching the predicate ?except (default: all of them).

Sourceval pp_state : Format.formatter -> unit -> unit

Display the state of registered/active sinks.

OCaml

Innovation. Community. Security.