pub fn init(loggers: Vec<Box<dyn Log>>, level: LevelFilter) -> FlushGuard
Expand description
FlushGuard must be dropped on the end of the program. Panic if a logger is already set.
pub fn init(loggers: Vec<Box<dyn Log>>, level: LevelFilter) -> FlushGuard
FlushGuard must be dropped on the end of the program. Panic if a logger is already set.