klogv2

package
v0.0.0-...-8fd29ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package klogv2 implements a virtual-kubelet/log.Logger using klogv2 as a backend

If you want this to be the default logger for virtual-kubelet, set `log.L` to the value returned by `New(fields)`

We recommend reading the klog conventions to build a better understanding of levels and when they should apply https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fields log.Fields) log.Logger

New creates a new `log.Logger` from the provided entry

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL