Skip to main content

log_logger

Function log_logger 

Source
pub fn log_logger() -> Box<dyn Log>
Expand description

Capture-only log::Log sink, for logger frameworks that fan out to several outputs — e.g. fern::Dispatch::new().chain(victauri_plugin::log_logger()), or a tauri-plugin-log dispatch target. In release builds (or with VICTAURI_DISABLE) the sink discards everything.