Add LOG_LEVEL
This commit is contained in:
parent
c3fb9efaaf
commit
a11e9d8375
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue