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

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

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.