🎉 Initial commit

This commit is contained in:
landaiqing
2024-08-03 20:34:12 +08:00
parent 93b37f9b46
commit 908a9d10f2
9 changed files with 69 additions and 0 deletions

10
config/conf_logger.go Normal file
View File

@@ -0,0 +1,10 @@
package config
// Logger 配置
type Logger struct {
Level string `yaml:"level"` // 日志级别
Prefix string `yaml:"prefix"` // 日志前缀
Director string `yaml:"director"` // 日志文件存放目录
ShowLine string `yaml:"showLine"` // 是否显示文件行号
LogInConsole string `yaml:"logInConsole"` // 是否在控制台打印日志
}