mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
prepare for 0.8
This commit is contained in:
parent
f8b8f00a14
commit
9a7b4710a3
9 changed files with 16 additions and 8 deletions
|
|
@ -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
|
# 0.7
|
||||||
|
|
||||||
- feat: add levels to `Trace_core`. Levels are similar to `logs` levels, to help control verbosity.
|
- feat: add levels to `Trace_core`. Levels are similar to `logs` levels, to help control verbosity.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
(generate_opam_files true)
|
(generate_opam_files true)
|
||||||
|
|
||||||
(version 0.7)
|
(version 0.8)
|
||||||
|
|
||||||
(source
|
(source
|
||||||
(github c-cube/ocaml-trace))
|
(github c-cube/ocaml-trace))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.7"
|
version: "0.8"
|
||||||
synopsis: "A ppx-based preprocessor for trace"
|
synopsis: "A ppx-based preprocessor for trace"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
authors: ["Simon Cruanes"]
|
authors: ["Simon Cruanes"]
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
It also defines a collector that needs to be installed
|
It also defines a collector that needs to be installed
|
||||||
for the subscriber(s) to be called.
|
for the subscriber(s) to be called.
|
||||||
|
|
||||||
@since NEXT_RELEASE
|
@since 0.8
|
||||||
*)
|
*)
|
||||||
|
|
||||||
module Callbacks = Callbacks
|
module Callbacks = Callbacks
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ val collector : out:[ `File of string ] -> unit -> Trace_core.collector
|
||||||
|
|
||||||
val subscriber : out:[ `File of string ] -> unit -> Trace_subscriber.t
|
val subscriber : out:[ `File of string ] -> unit -> Trace_subscriber.t
|
||||||
(** Make a subscriber that writes into the given output.
|
(** Make a subscriber that writes into the given output.
|
||||||
@since NEXT_RELEASE *)
|
@since 0.8 *)
|
||||||
|
|
||||||
type output = [ `File of string ]
|
type output = [ `File of string ]
|
||||||
(** Output for tracing.
|
(** Output for tracing.
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ type output =
|
||||||
|
|
||||||
val subscriber : out:[< output ] -> unit -> Trace_subscriber.t
|
val subscriber : out:[< output ] -> unit -> Trace_subscriber.t
|
||||||
(** A subscriber emitting TEF traces into [out].
|
(** A subscriber emitting TEF traces into [out].
|
||||||
@since NEXT_RELEASE *)
|
@since 0.8 *)
|
||||||
|
|
||||||
val collector : out:[< output ] -> unit -> Trace_core.collector
|
val collector : out:[< output ] -> unit -> Trace_core.collector
|
||||||
(** Make a collector that writes into the given output.
|
(** Make a collector that writes into the given output.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.7"
|
version: "0.8"
|
||||||
synopsis:
|
synopsis:
|
||||||
"A high-performance backend for trace, emitting a Fuchsia trace into a file"
|
"A high-performance backend for trace, emitting a Fuchsia trace into a file"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.7"
|
version: "0.8"
|
||||||
synopsis:
|
synopsis:
|
||||||
"A simple backend for trace, emitting Catapult/TEF JSON into a file"
|
"A simple backend for trace, emitting Catapult/TEF JSON into a file"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.7"
|
version: "0.8"
|
||||||
synopsis:
|
synopsis:
|
||||||
"A stub for tracing/observability, agnostic in how data is collected"
|
"A stub for tracing/observability, agnostic in how data is collected"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue