pub struct TracingEmitter { /* private fields */ }Expand description
Emits structured events as tracing events at the specified level.
Implementations§
Source§impl TracingEmitter
impl TracingEmitter
Sourcepub fn new(level: Level) -> Self
pub fn new(level: Level) -> Self
Creates a new TracingEmitter with the provided Level.
Trait Implementations§
Source§impl Clone for TracingEmitter
impl Clone for TracingEmitter
Source§fn clone(&self) -> TracingEmitter
fn clone(&self) -> TracingEmitter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TracingEmitter
impl Debug for TracingEmitter
Source§impl Default for TracingEmitter
impl Default for TracingEmitter
Source§impl EventEmitter for TracingEmitter
impl EventEmitter for TracingEmitter
Source§fn emit(&mut self, event: &ThreadEvent)
fn emit(&mut self, event: &ThreadEvent)
Invoked for each event emitted by the automation runtime.
Auto Trait Implementations§
impl Freeze for TracingEmitter
impl RefUnwindSafe for TracingEmitter
impl Send for TracingEmitter
impl Sync for TracingEmitter
impl Unpin for TracingEmitter
impl UnwindSafe for TracingEmitter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more