1. Overview
  2. Docs

Events that are used for logging and introspection. Events are pretty printed immediately in the log, and stored in the worker's event backlog for introspection.

type t

The type of an event.

include VIEW with type view := t
val encoding : t Data_encoding.t
val pp : Format.formatter -> t -> unit

Assigns a logging level to each event. Events can be ignored for logging w.r.t. the global node configuration. Events can be ignored for introspection w.r.t. to the worker's Worker_types.limits.