package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: May 16, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LogConfig struct {
LogMode string `envconfig:"LOG_MODE" default:"production"`
LogEncoding string `envconfig:"LOG_ENCODING"`
LogLevel string `envconfig:"LOG_LEVEL"`
LogVerbosity int8 `envconfig:"LOG_VERBOSITY" default:"0"`
}
New will return a Logger configured with the LOG_* environment variables
and the supported --zap* flags passed to the operator command line
Source Files
¶
Click to show internal directories.
Click to hide internal directories.