pub struct StderrLoggingPlugin { /* private fields */ }Expand description
Logs security events to stderr as human-readable text.
Format:
[SEC][<LEVEL>] participant=<hex16> category=<...> msg=<...>A mutex around io::Stderr serializes writes — otherwise parallel
writers could interleave the lines (stderr is line-buffered
only when it goes to the terminal; in a pipeline it is
fully buffered, or atomic per write(2) only up to 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