Add LOG_LEVEL
This commit is contained in:
parent
c3fb9efaaf
commit
a11e9d8375
|
@ -65,8 +65,8 @@ func (s RedisSettings) Addr() string {
|
|||
|
||||
type LogSettings struct {
|
||||
Stdout bool
|
||||
File string
|
||||
Level string
|
||||
File string `toml:"file" env:"LOG_FILE"`
|
||||
Level string `toml:"level" env:"LOG_LEVEL"`
|
||||
}
|
||||
|
||||
func (ls LogSettings) LogLevel() int {
|
||||
|
|
Loading…
Reference in New Issue