log-rs
A small logging library.
Can log on 4 level: INFO, DEBUG, WARNING, and ERROR.
Each level can be configured to write to a specific output.
Example
let mut log = new.unwrap;
log.config_format;
log.config_info;
log.config_debug;
log.config_warning;
log.config_error;
log.info;
log.warning;
log.debug;
log.error;
Display of sdtout:
[INFO|2020-04-07T15:42:31+0000]: informations.
Display of sdterr:
[DEBUG|2020-04-07T15:42:31+0000]: more informations.
Content of errlog.txt:
[WARNING|2020-04-07T15:42:31+0000]: my warning.
[ERROR|2020-04-07T15:42:31+0000]: an error.