pub struct TracingLogger;Expand description
Default logger implementation using the tracing crate.
This logger includes the is_replay flag in all log messages to help
distinguish between fresh executions and replayed operations.
Extra fields from LogInfo are included in the tracing output as a formatted
string of key-value pairs, making them queryable in log aggregation systems.
Trait Implementations§
Source§impl Clone for TracingLogger
impl Clone for TracingLogger
Source§fn clone(&self) -> TracingLogger
fn clone(&self) -> TracingLogger
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 TracingLogger
impl Debug for TracingLogger
Source§impl Default for TracingLogger
impl Default for TracingLogger
Source§fn default() -> TracingLogger
fn default() -> TracingLogger
Returns the “default value” for a type. Read more
Source§impl Logger for TracingLogger
impl Logger for TracingLogger
Auto Trait Implementations§
impl Freeze for TracingLogger
impl RefUnwindSafe for TracingLogger
impl Send for TracingLogger
impl Sync for TracingLogger
impl Unpin for TracingLogger
impl UnsafeUnpin for TracingLogger
impl UnwindSafe for TracingLogger
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.