ctxlog

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultContext = "fftb"

DefaultContext _

View Source
const LoggerContextKey logKey = "logger"

LoggerContextKey _

Variables

Logger _

Functions

func FromContext added in v0.8.2

func FromContext(ctx context.Context, prefix string) logrus.FieldLogger

FromContext _

func New

func New(contextName string) *logrus.Entry

New _

func SetLevel

func SetLevel(lvl logrus.Level)

SetLevel _

Types

This section is empty.

Jump to

Keyboard shortcuts

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