zap_logger

package
v1.1.26 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Closer

type Closer func() error

func GetDevJsonLogger

func GetDevJsonLogger() (logger *zap.Logger, closer Closer, err error)

func GetDevLogger

func GetDevLogger(path, service, when string) (logger *zap.Logger, closer Closer, err error)

func GetProdJsonLogger

func GetProdJsonLogger() (logger *zap.Logger, closer Closer, err error)

func GetProdLogger

func GetProdLogger(path, service, when string) (logger *zap.Logger, closer Closer, err error)

Jump to

Keyboard shortcuts

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