Module Trace_subscriber

Generic subscribers.

This defines the notion of a subscriber, a set of callbacks for every trace event. It also defines a collector that needs to be installed for the subscriber(s) to be called.

module Callbacks : sig ... end
module Subscriber : sig ... end
type user_data =
  1. | U_bool of bool
  2. | U_float of float
  3. | U_int of int
  4. | U_none
  5. | U_string of string
type flavor =
  1. | Sync
  2. | Async
type t = Subscriber.t
val collector : t -> Trace_core.collector