package octez-libs
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
    
    
  sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
    
    
  doc/octez-libs.event-logging/Tezos_event_logging/Internal_event/index.html
Module Tezos_event_logging.Internal_eventSource
This module defines a "structured event logging framework."
Internal-Event streams are like traditional logs but they have a proper Data_encoding format in order to be processed by software.
The module defines "Sinks" SINK as the receptacle for structured events: pluggable modules which can absorb (i.e. display, store, forward) the events emitted within the code-base.
Events Definitions and Registration
The relative importance of a particular event (compatible with traditional logging systems, cf. Lwt_log_core.level).
Sections are a simple way of classifying events at the time of their emission.
All the section that has been registered. Currently, sections are registered by the `Simple`.
Parameters defining an inspectable type of events.
Build an event from an event-definition.
event_definition wraps EVENT_DEFINITION as a first class module.
Helper functions to manipulate all kinds of events in a generic way.
Access to all the event definitions registered with Make.
Sink Definitions and Registration
An implementation of SINK is responsible for handling/storing events, for instance, a sink could be output to a file, to a database, or a simple "memory-less" forwarding mechanism.
sink_definition wraps SINK_DEFINITION as a first class module.
Use All_sinks.register to add a new inactive sink, then All_sinks.activate to make it handle events.
Common Event Definitions
The worker logger is meant for use with Lwt_utils.worker.