log

package
v0.0.0-...-b34430a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"log",
	fx.Provide(
		NewLogger,
	),
)

Functions

func InitializeLogger

func InitializeLogger(logConfig configs.Log) (logger *zap.Logger, cleanup func(), err error)

func LoggerWithContext

func LoggerWithContext(_ context.Context, logger *zap.Logger) *zap.Logger

func NewLogger

func NewLogger(lc fx.Lifecycle, cfg configs.Log) (*zap.Logger, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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