Trace_tefmodule Subscriber : sig ... endmodule Exporter : sig ... endAn exporter, takes JSON objects and writes them somewhere
module Writer : sig ... endWrite JSON events to a buffer.
Output for tracing.
`Stdout will enable tracing and print events on stdout`Stderr will enable tracing and print events on stderr`File "foo" will enable tracing and print events into file named "foo"val subscriber : out:[< output ] -> unit -> Trace_subscriber.tA subscriber emitting TEF traces into out.
val collector : out:[< output ] -> unit -> Trace_core.collectorMake a collector that writes into the given output. See setup for more details.
val setup : ?out:[ output | `Env ] -> unit -> unitsetup () installs the collector depending on out.
val with_setup : ?out:[ output | `Env ] -> unit -> (unit -> 'a) -> 'awith_setup () f (optionally) sets a collector up, calls f(), and makes sure to shutdown before exiting. since 0.2 a () argument was added.