log

package module
v0.0.0-...-50ef5e0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 4 Imported by: 7

README

go-logs-toolkit

Golang logging helpers used in other Adevinta tools and operators

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