Expand description
Collects and records trace data.
Structs§
- Default
Guard  - A guard that resets the current default dispatcher to the prior default dispatcher when dropped.
 - Interest
 - Indicates a 
Subscriber’s interest in a particular callsite. - NoSubscriber
 - A no-op 
Subscriber. - SetGlobal
Default Error  - Returned if setting the global dispatcher fails.
 
Traits§
- Subscriber
 - Trait representing the functions required to collect trace data.
 
Functions§
- set_
default  - Sets the 
Subscriberas the default for the current thread for the duration of the lifetime of the returnedDefaultGuard. - set_
global_ default  - Sets this subscriber as the global default for the duration of the entire program.
Will be used as a fallback if no thread-local subscriber has been set in a thread (using 
with_default.) - with_
default  - Sets this 
Subscriberas the default for the current thread for the duration of a closure.