You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package logger
-
- type Config struct {
- Output string `json:"output"` // 输出日志的方式。file:输出到文件,stdout:输出到标准输出
- OutputFileName string `json:"outputFileName"` // 输出日志的文件名,只在Output字段为file时有意义
- OutputDirectory string `json:"outputDirectory"` // 输出日志的目录,只在Output字段为file时有意义
- Level string `json:"level"`
- }
|