zap

package
v1.86.28 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig() zap.Config

NewConfig for zap.

func NewLogger

func NewLogger(params LoggerParams) (*zap.Logger, error)

NewLogger using zap.

Types

type LoggerParams added in v1.66.0

type LoggerParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    zap.Config
	Version   version.Version
}

LoggerParams for zap.

Jump to

Keyboard shortcuts

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