pub struct HumanReaderFormatter;Expand description
A human-readable log formatter, designed for developers and operators. Formats time, elapsed duration, and entity changes cleanly.
Trait Implementations§
Source§impl LogFormatter for HumanReaderFormatter
impl LogFormatter for HumanReaderFormatter
Source§fn format_sql_log(
&self,
trace_chain: &[TraceNode],
entry: &SqlLogEntry,
) -> String
fn format_sql_log( &self, trace_chain: &[TraceNode], entry: &SqlLogEntry, ) -> String
Format an SQL log entry along with its trace chain
Source§fn format_audit_log(&self, event: &RawAuditEvent) -> String
fn format_audit_log(&self, event: &RawAuditEvent) -> String
Format an audit or mutation event log
Auto Trait Implementations§
impl Freeze for HumanReaderFormatter
impl RefUnwindSafe for HumanReaderFormatter
impl Send for HumanReaderFormatter
impl Sync for HumanReaderFormatter
impl Unpin for HumanReaderFormatter
impl UnsafeUnpin for HumanReaderFormatter
impl UnwindSafe for HumanReaderFormatter
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