1. Overview
  2. Docs
include Tezos_event_logging.Internal_event.EVENT_DEFINITION with type t = t
type t = t
val name : string

Defines the identifier for the event. Names should be unique and are restricted to alphanumeric characters or ".@-_+=,~".

val doc : string

A display-friendly text which describes what the event means.

val pp : Format.formatter -> t -> unit
val encoding : t Data_encoding.t

Return the preferred level for a given event instance.

Output an event of type t, if no sinks are listening the function won't be applied.