loggerx

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggerWithCtx

func GetLoggerWithCtx(c *gin.Context) *logrus.Entry

func GetLoggerWithCtxAddBody

func GetLoggerWithCtxAddBody(c *gin.Context, body string) *logrus.Entry

used for debugging,

func GetReqId

func GetReqId(c *gin.Context) string

func UseLogger

func UseLogger() gin.HandlerFunc

func UseRequestId

func UseRequestId() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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