Function init_logger
pub fn init_logger(name: &str)Expand description
Initialize the logger.
Makes sure a logs directory exists in the current working directory.
Log filename format: <utc-time-of-executable-start>_<name>.log.
Configures log_panics.
ยงArguments
name- Will be part of the log filename.