logs-0.0.1 has been yanked.
logs
A simple terminal logger
Use
Add this in your Cargo.toml:
[]
= "*"
Example
use ;
Features
By default, these logs will not be displayed in --release mode, if you need to open please add the logs features.
[dependencies]
logs = { version = "*", features = ["warn", "error" ...] }
By default, the log does not include the recording time, to display please add logs features.
[dependencies]
logs = { version = "*", features = ["time"] }
...
[2020-07-06 15:56:08] [WARN ] This is a warn log
[2020-07-06 15:56:08] [ERROR] This is a error log