Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LoggerContext is the builder of a zerolog.Logger that is exposed to the application so that // options at the CLI might alter the formatting and the output of the logs. LoggerContext = zerolog. New(zerolog.ConsoleWriter{Out: os.Stderr, TimeFormat: time.RFC3339}). With().Timestamp() // Logger is a zerolog logger, that can be safely used from any part of the application. // It gathers the format and the output. Logger = LoggerContext.Logger() )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.