kubernetes: k8s.io/kubernetes/staging/src/k8s.io/component-base/logs/json Index | Files

package logs

import "k8s.io/kubernetes/staging/src/k8s.io/component-base/logs/json"

Index

Package Files

json.go

Variables

var (
    // JSONLogger is global json log format logr
    JSONLogger logr.Logger
)

func NewJSONLogger Uses

func NewJSONLogger(w zapcore.WriteSyncer) logr.Logger

NewJSONLogger creates a new json logr.Logger using the given Zap Logger to log.

Package logs imports 5 packages (graph). Updated 2020-07-18. Refresh now. Tools for package owners.