Function flexi_logger::init [] [src]

pub fn init(
    config: LogConfig,
    loglevelspec: Option<String>
) -> Result<(), FlexiLoggerError>

Initializes the flexi_logger to your needs, and the global logger with flexi_logger.

Directly calling this method is normally not necessary.

Configuration

See LogConfig for most of the initialization options.