Function spirit_log::install_parts[][src]

pub fn install_parts(level: LevelFilter, logger: Box<dyn Log>)
Expand description

Replace the current logger with the provided one.

This is a lower-level alternative to install. This allows putting an arbitrary logger in (with the corresponding log level at which it makes sense to try log the messages).