pub struct EventFormatter;
Expand description
An event formatter usable by the [tracing-subscriber
] crate, which
includes the log context and the OTEL trace ID.
Trait Implementations§
Source§impl Debug for EventFormatter
impl Debug for EventFormatter
Source§impl Default for EventFormatter
impl Default for EventFormatter
Source§fn default() -> EventFormatter
fn default() -> EventFormatter
Returns the “default value” for a type. Read more
Source§impl<S, N> FormatEvent<S, N> for EventFormatter
impl<S, N> FormatEvent<S, N> for EventFormatter
Source§fn format_event(
&self,
ctx: &FmtContext<'_, S, N>,
writer: Writer<'_>,
event: &Event<'_>,
) -> Result
fn format_event( &self, ctx: &FmtContext<'_, S, N>, writer: Writer<'_>, event: &Event<'_>, ) -> Result
Auto Trait Implementations§
impl Freeze for EventFormatter
impl RefUnwindSafe for EventFormatter
impl Send for EventFormatter
impl Sync for EventFormatter
impl Unpin for EventFormatter
impl UnwindSafe for EventFormatter
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