pub enum LogOutputMode {
Disabled,
Terminal,
File,
TerminalAndFile,
CrashOnly,
}Expand description
Explicit destinations for ordinary operational logs.
Variants§
Disabled
Perform no logging work after the cheap enabled check.
Terminal
Write human-readable output to the terminal.
File
Write bounded structured JSONL files.
TerminalAndFile
Write to both terminal and bounded JSONL files.
CrashOnly
Retain a bounded sanitized ring and write it only on explicit crash dump.
Trait Implementations§
Source§impl Clone for LogOutputMode
impl Clone for LogOutputMode
Source§fn clone(&self) -> LogOutputMode
fn clone(&self) -> LogOutputMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LogOutputMode
Source§impl Debug for LogOutputMode
impl Debug for LogOutputMode
impl Eq for LogOutputMode
Source§impl PartialEq for LogOutputMode
impl PartialEq for LogOutputMode
impl StructuralPartialEq for LogOutputMode
Auto Trait Implementations§
impl Freeze for LogOutputMode
impl RefUnwindSafe for LogOutputMode
impl Send for LogOutputMode
impl Sync for LogOutputMode
impl Unpin for LogOutputMode
impl UnsafeUnpin for LogOutputMode
impl UnwindSafe for LogOutputMode
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