Adjust env logger options
This commit is contained in:
parent
9afd3953e6
commit
614112aeb2
1 changed files with 1 additions and 1 deletions
2
internal/env/env.go
vendored
2
internal/env/env.go
vendored
|
@ -13,7 +13,7 @@ type Config struct {
|
||||||
TimeZone string `env:"TZ" envDefault:"Etc/UTC" validate:"timezone"`
|
TimeZone string `env:"TZ" envDefault:"Etc/UTC" validate:"timezone"`
|
||||||
Title string `env:"TITLE" envDefault:"goDash"`
|
Title string `env:"TITLE" envDefault:"goDash"`
|
||||||
Port int `env:"PORT" envDefault:"4000" validate:"min=1024,max=49151"`
|
Port int `env:"PORT" envDefault:"4000" validate:"min=1024,max=49151"`
|
||||||
LogLevel string `env:"LOG_LEVEL" envDefault:"info" validate:"oneof=debug info warn error panic fatal"`
|
LogLevel string `env:"LOG_LEVEL" envDefault:"info" validate:"oneof=debug info warn error"`
|
||||||
LiveSystem bool `env:"LIVE_SYSTEM" envDefault:"true"`
|
LiveSystem bool `env:"LIVE_SYSTEM" envDefault:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue