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
Callbacks used for subscribers.
module Subscriber : sig ... end
Trace subscribers
type t = Subscriber.t
val collector : t -> Trace_core.collector
A collector that calls the subscriber's callbacks.
It uses mtime
(if available) to obtain timestamps.