logger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"logger",
	fx.Provide(New),
	fx.Invoke(func(logger *zap.Logger) {
		zap.RedirectStdLog(logger)
	}),
)

Functions

func New

func New(lc fx.Lifecycle) (*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