Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Trace // Level is the log level. Possible values: debug, info, warn, error Level string `yaml:"level" validate:"eq=debug|eq=info|eq=warn|eq=error"` // Format is the log format. Possible values: json, text Format string `yaml:"format" validate:"eq=text|eq=json"` Mode string `yaml:"mode" validate:"eq=file|eq=console|eq="` lumberjack.Logger }
Config represents a configuration.
Click to show internal directories.
Click to hide internal directories.