Struct argmin::core::slog_logger::ArgminSlogLogger [−][src]
pub struct ArgminSlogLogger { /* fields omitted */ }
Expand description
A logger based on slog
Implementations
Log to the terminal in a non-blocking way (in case of overflow, messages are dropped)
Log JSON to a file in a blocking way
If truncate
is set to true
, the content of existing log files at file
will be
cleared.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArgminSlogLogger
impl Send for ArgminSlogLogger
impl Sync for ArgminSlogLogger
impl Unpin for ArgminSlogLogger
impl UnwindSafe for ArgminSlogLogger
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V