Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Debug bool `env:"DEBUG" envDefault:"false"` // Mode is a mode of Logger. Valid options: prod, production, dev, develop. // Default value is prod Mode string `env:"LOGGER_MODE" envDefault:"prod"` // Level is a level of logger. Valid options: debug, info, warn, error, fatal. // It is always debug, when debug mode is on Level string `env:"LOGGER_LEVEL" envDefault:"info"` }
Click to show internal directories.
Click to hide internal directories.