Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogStyleJSON = "json" LogStylePlain = "plain" )
View Source
const (
ConfLogStyle = "LOG_STYLE"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigItems ¶
func ConfigItems() []auconfigapi.ConfigItem
func PreliminarySetup ¶
func PreliminarySetup()
PreliminarySetup provides minimal structured logging before we have read the configuration.
This solves the chicken and egg problem between configuration (which also configures logging) and logging, so errors in the configuration can be logged.
After reading the configuration, you should call Setup() with it.
In order to avoid log format differences in normal operation, reading the configuration should only write logs if it fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.