Initial zh-CN document translation: DNS

This commit is contained in:
世界
2022-08-24 16:23:21 +08:00
parent a878256367
commit 03f457f3d0
16 changed files with 585 additions and 19 deletions

View File

@@ -0,0 +1,31 @@
### 结构
```json
{
"log": {
"disabled": false,
"level": "info",
"output": "box.log",
"timestamp": false
}
}
```
### 字段
#### disabled
禁用日志,启动后不输出日志。
#### level
日志等级,可选值:`trace` `debug` `info` `warn` `error` `fatal` `panic`.
#### output
输出文件路径,启动后将不输出到控制台。
#### timestamp
添加时间到每行。