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.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

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.