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.

config.go 441 B

12345678
  1. package logger
  2. type Config struct {
  3. Output string `json:"output"` // 输出日志的方式。file:输出到文件,stdout:输出到标准输出
  4. OutputFileName string `json:"outputFileName"` // 输出日志的文件名,只在Output字段为file时有意义
  5. OutputDirectory string `json:"outputDirectory"` // 输出日志的目录,只在Output字段为file时有意义
  6. Level string `json:"level"`
  7. }

公共库

Contributors (1)