Logger

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger() *zap.Logger

func InitIOLogger

func InitIOLogger(logLevel string, encoding logs.Encoding, options ...zap.Option) (*zap.Logger, error)

func InitLogger

func InitLogger(name string, logLevel string, encoding logs.Encoding, options ...zap.Option) (*zap.Logger, error)

func RegisterLoggerInit

func RegisterLoggerInit(name string, init logs.LoggerInit)

Types

This section is empty.

Jump to

Keyboard shortcuts

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