V2bX/conf/log.go

16 lines
271 B
Go
Raw Normal View History

package conf
type LogConfig struct {
2022-09-12 23:08:20 -04:00
Level string `yaml:"Level"`
AccessPath string `yaml:"AccessPath"`
ErrorPath string `yaml:"ErrorPath"`
}
func NewLogConfig() *LogConfig {
return &LogConfig{
2023-07-12 13:19:13 -04:00
Level: "warning",
AccessPath: "",
ErrorPath: "",
}
}