logger

package
v0.5.0-rc11 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrpcLog added in v0.3.6

func NewGrpcLog(log Logger, level LogLevel) *grpcLog

func WithName

func WithName(name string) logr.Logger

func WithOptions

func WithOptions(opts ...zap.Option) logr.Logger

Types

type LogLevel added in v0.3.6

type LogLevel = int
const (
	DebugLevel LogLevel = 1
	InfoLevel  LogLevel = 0
	WarnLevel  LogLevel = -1
	ErrorLevel LogLevel = -2
)

type Logger

type Logger = logr.Logger

Jump to

Keyboard shortcuts

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