V2bX/conf/log.go
yuzuki999 efcdffb20d change project structure
add across nodes ip limit
add user ip recorder
del config file watch
2022-07-28 23:00:05 +08:00

16 lines
292 B
Go

package conf
type LogConfig struct {
Level string `mapstructure:"Level"`
AccessPath string `mapstructure:"AccessPath"`
ErrorPath string `mapstructure:"ErrorPath"`
}
func NewLogConfig() *LogConfig {
return &LogConfig{
Level: "none",
AccessPath: "",
ErrorPath: "",
}
}