log

package
v0.0.0-...-cefd429 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLogger

func ConfigureLogger(logger *zap.Logger)

func FX

func FX(p DebugParam, logger *zap.Logger) fxevent.Logger

func Module

func Module() fx.Option

func NewLogger

func NewLogger(p DebugParam, lc fx.Lifecycle) (*zap.Logger, error)

Types

type DebugParam

type DebugParam struct {
	fx.In
	Debug bool `name:"debug"`
}

Jump to

Keyboard shortcuts

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