context

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogContext

type LogContext struct {
	context.Context
	// contains filtered or unexported fields
}

func WithEntryIfWithout

func WithEntryIfWithout(ctx context.Context, entry *logrus.Entry) *LogContext

func WithLoggerIfWithout

func WithLoggerIfWithout(ctx context.Context, logger *logrus.Logger) *LogContext

func (LogContext) Entry

func (c LogContext) Entry() (entry *logrus.Entry)

Jump to

Keyboard shortcuts

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