Use log crate

This commit is contained in:
wyhaya
2020-01-13 20:55:30 +08:00
parent d4d796d3b1
commit e78cf2ba82
7 changed files with 112 additions and 63 deletions

View File

@@ -51,14 +51,15 @@ Usage:
Command:
add Add a DNS record
ls Print all configured DNS records
config Call vim to edit the configuration file
config Call 'vim' to edit the configuration file
path Print related directories
help Print help information
version Print version information
Option:
-c Specify a config file
-w Check the interval of the configuration file
-i Check the interval time of the configuration file
format: 1ms, 1s, 1m, 1h, 1d
```
## Config