The Golang standard library has a Duration type, which
has a function called ParseDuration that accepts formatted strings like these: 15m for 15
minutes, 1h for 1 hour, 1h15m for 1 hour and 15 minutes. This type enforces that format.
Specifies the log format. Options are runner, text, and json. This setting has lower
priority than the format set by command-line argument --log-format. The default value is
runner, which contains ANSI escape codes for coloring.
Defines the log level. Options are debug, info, warn, error, fatal, and panic. This
setting has lower priority than the level set by the command-line arguments --debug, -l, or
--log-level.