package tracing

  1. Overview
  2. Docs
val create : base_time:Core.Time_ns.t option -> Tracing_zero.Writer.t -> t

Wraps a Tracing_zero.Writer.t to keep track of IDs and interned strings

It's still safe to write to the writer directly after using this wrapper, as long as you use IDs allocated with the allocate_* functions and are aware that this module can overwrite strings using set_temp_string_slot.

See create_for_file for explanation of base_time.

OCaml

Innovation. Community. Security.