Imandrakit_log.Trace_async
module Trace = Trace_core
module LS = Moonpool.Task_local_storage
val k_parent_scope : Trace.explicit_span Hmap.key
Current parent scope for async spans
val set_parent_scope : Trace.explicit_span -> unit
Set the parent scope by hand
val get_parent_scope : unit -> Trace.explicit_span option
val add_exn_to_span :
Trace.explicit_span ->
exn ->
Stdlib.Printexc.raw_backtrace ->
unit
val with_span :
?level:Trace.Level.t ->
?parent:Trace.explicit_span ->
?data:(unit -> (string * Trace.user_data) list) ->
?__FUNCTION__:string ->
__FILE__:string ->
__LINE__:int ->
string ->
(Trace.explicit_span -> 'a) ->
'a
Wrap f()
in a async span.