log

package
v0.0.0-...-00ec399 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLogger = New()
)

Functions

func AddLogFieldsToContext

func AddLogFieldsToContext(ctx context.Context, newFields logrus.Fields) context.Context

func ContextualizeLogr

func ContextualizeLogr(logger logr.Logger, ctx context.Context) logr.Logger

func New

func New() *logrus.Logger

func NewLogr

func NewLogr(logger *logrus.Logger) logr.Logger

NewLogr returns a logrus logger compliant with the logr interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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