logger

package
v0.0.0-...-5f73fe0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey string
const (
	CtxRequestId ContextKey = "request_id"
)

type Logger

type Logger struct {
	logrus.Logger
}

func New

func New() *Logger

func (*Logger) WithRequestInfo

func (l *Logger) WithRequestInfo(ctx context.Context) *logrus.Entry

Jump to

Keyboard shortcuts

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