logger

package
v0.0.0-...-65cdad1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Functions

func InitLogger

func InitLogger(isDevelopment bool, level string, samplingInitial int, samplingThereafter int) error

func LogRequest

func LogRequest(fhctx *fasthttp.RequestCtx)

func SetDetails

func SetDetails(fhctx *fasthttp.RequestCtx, level zapcore.Level, msg string, err error, extraFields []zap.Field)

Types

This section is empty.

Jump to

Keyboard shortcuts

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