pub fn init(logger: Option<Logger>, options: LoggerOptions)
Expand description

Initializes the environment logger.

If a logger is given then it is used, otherwise a new logger is created in the same way as env_logger::init does normally. The global_filter on the options is set to the filter of the logger.