pub enum LogFormat {
Json,
Pretty,
Compact,
}Expand description
Log format options for structured logging
Variants§
Json
Structured JSON output for log aggregators
Pretty
Human-readable format for development (with all fields)
Compact
Compact format: timestamp level module [instance_id] message
Trait Implementations§
impl Eq for LogFormat
impl StructuralPartialEq for LogFormat
Auto Trait Implementations§
impl Freeze for LogFormat
impl RefUnwindSafe for LogFormat
impl Send for LogFormat
impl Sync for LogFormat
impl Unpin for LogFormat
impl UnsafeUnpin for LogFormat
impl UnwindSafe for LogFormat
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