Skip to main content

add_event

Method
This is a method of the TraceContext class in the trace module.
Add event to current span.

Signature

def add_event(&mut self, name: impl Into<String>) -> ()

Parameters

name
impl Into<String>
required
No description available.

Returns

Returns
()
The result of the operation.