Internal_event.GenericSourceHelper functions to manipulate all kinds of events in a generic way.
type definition = | Definition : (Section.t option * string * 'a event_definition) -> definitionGet the JSON schema (together with name and doc) of a given event definition.
val explode_event :
event ->
< pp : Format.formatter -> unit -> unit
; json : Data_encoding.json
; with_name >Get the JSON representation and a pretty-printer for a given event instance.