Documentation ¶
Overview ¶
Package log configures a new logger for an application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Format specifies the output log format. // Accepted values are: json, logfmt Format string // Level is the minimum log level that should appear on the output. Level string // NoColor makes sure that no log output gets colorized. NoColor bool }
Config holds details necessary for logging.
Click to show internal directories.
Click to hide internal directories.