logger

package
v0.0.0-...-f31e6ca Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// decider      = func(code codes.Code) logrus.Level {
	// if code == codes.OK {
	// return logrus.InfoLevel
	// }
	// return logrus.ErrorLevel
	// }
	GrpcLogrusEntry *logrus.Entry
	GrpcLogrusOpts  []grpcLogrus.Option
)

Functions

func EnpointHit

func EnpointHit(ctx context.Context)

func GetGrpcLogger

func GetGrpcLogger(ctx context.Context) *logrus.Entry

func GetServerLogger

func GetServerLogger() *logrus.Entry

func SetServerLogger

func SetServerLogger()

Types

This section is empty.

Jump to

Keyboard shortcuts

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