logs

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 8 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSONLogger

func NewJSONLogger(infoStream, errorStream zapcore.WriteSyncer) (logr.Logger, func())

NewJSONLogger creates a new json logr.Logger and its associated flush function. The separate error stream is optional and may be nil.

Types

type Factory added in v0.23.0

type Factory struct{}

Factory produces JSON logger instances.

func (Factory) Create added in v0.23.0

func (f Factory) Create(options config.FormatOptions) (logr.Logger, func())

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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