pub struct StderrLoggingPlugin { /* private fields */ }Expand description
Loggt Security-Events nach stderr als Human-Readable-Text.
Format:
[SEC][<LEVEL>] participant=<hex16> category=<...> msg=<...>Mutex um io::Stderr serialisiert Writes — sonst koennten parallele
Writer die Zeilen ineinander mischen (stderr ist line-buffered
nur wenn es ans Terminal geht; in der Pipeline ist es
fully-buffered bzw. per write(2) atomisch nur bis PIPE_BUF Bytes).
Implementations§
Source§impl StderrLoggingPlugin
impl StderrLoggingPlugin
Sourcepub fn with_level(min_level: LogLevel) -> Self
pub fn with_level(min_level: LogLevel) -> Self
Mit explizitem Min-Level.
Trait Implementations§
Source§impl Default for StderrLoggingPlugin
impl Default for StderrLoggingPlugin
Source§impl LoggingPlugin for StderrLoggingPlugin
impl LoggingPlugin for StderrLoggingPlugin
Auto Trait Implementations§
impl !Freeze for StderrLoggingPlugin
impl RefUnwindSafe for StderrLoggingPlugin
impl Send for StderrLoggingPlugin
impl Sync for StderrLoggingPlugin
impl Unpin for StderrLoggingPlugin
impl UnsafeUnpin for StderrLoggingPlugin
impl UnwindSafe for StderrLoggingPlugin
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