traced
Creates a Trace child node from outside a HasTraceTags implementation.
The difference between the two parameters is that tags essentially describe the receiver of the trace (the class, any identifying immutable instance properties like project path, etc.), and the arguments are just like function arguments.
Since
0.12.0
Parameters
the Trace.tags added to this trace child
the dynamic runtime Trace.Child.args arguments added to this trace
performed with the updated trace
Throws
if the coroutineContext does not have a Trace
Creates a Trace child node from inside a HasTraceTags implementation.
If you're sure you need to provide Trace.tags arguments as well, then remove the HasTraceTags implementation from the receiver.
Since
0.12.0
Parameters
the dynamic runtime Trace.Child.args arguments added to this trace
performed with the updated trace
Throws
if the coroutineContext does not have a Trace
Deprecated (with error)
Don't provide dynamic tags from inside HasTraceTags.
Replace with
traced(args, block)
Don't use. This overload exists in order to prevent accidentally providing the wrong tags to a Trace from inside a HasTraceTags. If you need to provide runtime
Since
0.12.0