logger

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

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

StdLog holds the global default logger.

Functions

func GetFromContext

func GetFromContext(ctx context.Context) logrus.FieldLogger

GetFromContext returns a context log entry on the logger instance if it is present in context as a value.

func InitGlobalLogging

func InitGlobalLogging()

InitGlobalLogging initializes the default logger.

func PutLoggerInContext

func PutLoggerInContext(ctx context.Context) context.Context

PutLoggerInContext adds the logger to the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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