logger

package
v0.6.47 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZeroLogr

func NewZeroLogr() logr.Logger

NewZeroLogr returns a Zerolog logger wrapped in a go-logr/logr interface.

func WithLogr

func WithLogr(logger logr.Logger) gin.HandlerFunc

WithLogr uses a logger with the go-logr/logr interface to log a gin HTTP request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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