Add LOG_LEVEL

This commit is contained in:
Tyler 2018-08-05 00:12:28 -04:00
parent c3fb9efaaf
commit a11e9d8375
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ func (s RedisSettings) Addr() string {
type LogSettings struct { type LogSettings struct {
Stdout bool Stdout bool
File string File string `toml:"file" env:"LOG_FILE"`
Level string Level string `toml:"level" env:"LOG_LEVEL"`
} }
func (ls LogSettings) LogLevel() int { func (ls LogSettings) LogLevel() int {