diff --git a/ppx_trace/_doc-dir/CHANGES.md b/ppx_trace/_doc-dir/CHANGES.md index ae8e411..2721a13 100644 --- a/ppx_trace/_doc-dir/CHANGES.md +++ b/ppx_trace/_doc-dir/CHANGES.md @@ -1,4 +1,12 @@ +# 0.8 + +- add `trace.subscriber` instead of a separate library +- add `trace-tef.tldrs`, to trace multiple processes easily (with external rust daemon) + +- breaking: `trace-tef`: use `mtime.now`, not a counter, for multiproc +- `trace-fuchsia`: require thread-local-storage 0.2 + # 0.7 - feat: add levels to `Trace_core`. Levels are similar to `logs` levels, to help control verbosity. diff --git a/trace-fuchsia/_doc-dir/CHANGES.md b/trace-fuchsia/_doc-dir/CHANGES.md index ae8e411..2721a13 100644 --- a/trace-fuchsia/_doc-dir/CHANGES.md +++ b/trace-fuchsia/_doc-dir/CHANGES.md @@ -1,4 +1,12 @@ +# 0.8 + +- add `trace.subscriber` instead of a separate library +- add `trace-tef.tldrs`, to trace multiple processes easily (with external rust daemon) + +- breaking: `trace-tef`: use `mtime.now`, not a counter, for multiproc +- `trace-fuchsia`: require thread-local-storage 0.2 + # 0.7 - feat: add levels to `Trace_core`. Levels are similar to `logs` levels, to help control verbosity. diff --git a/trace-tef/Trace_tef/index.html b/trace-tef/Trace_tef/index.html index 81c0b10..13a2b31 100644 --- a/trace-tef/Trace_tef/index.html +++ b/trace-tef/Trace_tef/index.html @@ -1,2 +1,2 @@ -
Trace_tefOutput 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.
Trace_tefOutput 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.
Trace_tef_tldrsEmit traces by talking to the tldrs daemon
val collector : out:[ `File of string ] -> unit -> Trace_core.collectorMake a collector that writes into the given output. See setup for more details.
val subscriber : out:[ `File of string ] -> unit -> Trace_subscriber.tMake a subscriber that writes into the given output.
Output for tracing.
`File "foo" will enable tracing and print events into file named "foo". The file is only written at exit.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.
Trace_tef_tldrsEmit traces by talking to the tldrs daemon
val collector : out:[ `File of string ] -> unit -> Trace_core.collectorMake a collector that writes into the given output. See setup for more details.
val subscriber : out:[ `File of string ] -> unit -> Trace_subscriber.tMake a subscriber that writes into the given output.
Output for tracing.
`File "foo" will enable tracing and print events into file named "foo". The file is only written at exit.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.
Trace_subscriberGeneric 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 ... endCallbacks used for subscribers.
module Subscriber : sig ... endTrace subscribers
type t = Subscriber.tval collector : t -> Trace_core.collectorA collector that calls the subscriber's callbacks.
It uses mtime (if available) to obtain timestamps.
Trace_subscriberGeneric 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 ... endCallbacks used for subscribers.
module Subscriber : sig ... endTrace subscribers
type t = Subscriber.tval collector : t -> Trace_core.collectorA collector that calls the subscriber's callbacks.
It uses mtime (if available) to obtain timestamps.