logger

package
v0.5.0-dev29 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetZapLogger added in v0.5.0

func GetZapLogger() *zap.Logger

func WithOpenTelemetry added in v0.5.0

func WithOpenTelemetry() *otelzap.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

func WithName

func WithName(name string) Logger

func WithOptions

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

Jump to

Keyboard shortcuts

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