Function init_logger
Source pub fn init_logger(filter: LevelFilter, log_file_path: Option<PathBuf>)
Expand description
Initializes the logger.
This enables console logging on all the internals of Mecomp.
Functionality is provided by log.
The levels are:
- ERROR
- WARN
- INFO
- DEBUG
- TRACE
ยงPanics
This must only be called once.