pub enum LogTarget {
Stdout,
Stderr,
}Expand description
An AuditSink that writes one NDJSON line per event to a configurable target
(defaults to stderr).
Suitable for local development and structured log pipelines that collect from stdout/stderr (e.g., Fluentd, Vector, AWS CloudWatch agent).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogTarget
impl RefUnwindSafe for LogTarget
impl Send for LogTarget
impl Sync for LogTarget
impl Unpin for LogTarget
impl UnsafeUnpin for LogTarget
impl UnwindSafe for LogTarget
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