gin_logger

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessLogger *zap.Logger
View Source
var RecoveryLogger *zap.Logger

Functions

func InitAccessLogger

func InitAccessLogger(basePath string)

func InitRecoveryLogger

func InitRecoveryLogger(basePath string)

func InitServerLogger

func InitServerLogger(basePath string)

func RecoveryWithZap

func RecoveryWithZap(logger *zap.Logger, stack bool) 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