V2bX/conf/log.go

16 lines
268 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{
Level: "none",
AccessPath: "",
ErrorPath: "",
}
}