package
Version:
v1.8.3
Opens a new window with list of versions in this module.
Published: Oct 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package log configures the logging system.
ConfigFlags helps configure cobra and viper flags.
Init configures the global logger.
type Config struct {
Level string `mapstructure:"level"`
ForceTTY bool `mapstructure:"tty"`
JSON bool `mapstructure:"json"`
ShowLine bool `mapstructure:"line"`
}
Config configures the logger.
Validate configuration is ok.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.