Documentation ¶
Overview ¶
Package klogr implements github.com/go-logr/logr.Logger in terms of k8s.io/klog.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithOptions
deprecated
added in
v2.5.0
Types ¶
type Format ¶ added in v2.5.0
type Format string
Format defines how log output is produced.
const ( // FormatSerialize tells klogr to turn key/value pairs into text itself // before invoking klog. Key/value pairs are sorted by key. FormatSerialize Format = "Serialize" // FormatKlog tells klogr to pass all text messages and key/value pairs // directly to klog. Klog itself then serializes in a human-readable // format and optionally passes on to a structure logging backend. FormatKlog Format = "Klog" )
Click to show internal directories.
Click to hide internal directories.