Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Standard log verbosity levels. // Use these instead of integers in venafi-kubernetes-agent code. Info = 0 Debug = 1 Trace = 2 )
Variables ¶
This section is empty.
Functions ¶
func AddFlags ¶ added in v1.3.0
AddFlags adds log related flags to the supplied flag set.
The split-stream options are enabled by default, so that errors are logged to stderr and info to stdout, allowing cloud logging systems to assign a severity INFO or ERROR to the messages.
func Initialize ¶ added in v1.3.0
func Initialize() error
Initialize uses k8s.io/component-base/logs, to configure the following global loggers: log, slog, and klog. All are configured to write in the same format.
Types ¶
Click to show internal directories.
Click to hide internal directories.