From a11e9d837567cd30472cf15ef6b4d96c60b1c78c Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 5 Aug 2018 00:12:28 -0400 Subject: [PATCH] Add LOG_LEVEL --- settings.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.go b/settings.go index ed84d08..55f06f4 100644 --- a/settings.go +++ b/settings.go @@ -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 {