initialise

Function initialise 

Source
pub fn initialise(min_level: LevelFilter) -> Result<(), Error>
Expand description

The logs#initialise function initialises the env_logger and logs modules. This currently only consists of setting the level filter but may be extended in the future.

ยงParameters

  • min_level: LevelFilter - The minimum log-level required to be printed to the console, all log requests below this level will be ignored.