logger

package
v0.0.0-...-4b328e9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("logger",
	fx.Provide(
		func(appConfig *config.AppConfig) *config.LogConfig {
			return &appConfig.Log
		},
		NewZapLogger,
	),
)

Functions

func NewZapLogger

func NewZapLogger(lc fx.Lifecycle, logConfig *config.LogConfig) *zap.Logger

func RequestLogger

func RequestLogger(log *zap.Logger) echo.MiddlewareFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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