log

package
v0.0.0-...-5032473 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogLevel

func GetLogLevel() zap.AtomicLevel

func GetLogger

func GetLogger(role string) *zap.Logger

func GetLoggers

func GetLoggers(role string) (*zap.Logger, *zap.SugaredLogger)

func SetLogLevel

func SetLogLevel(l int)

Types

type Logger

type Logger struct {
	Log  *zap.Logger
	Logf *zap.SugaredLogger
}

Jump to

Keyboard shortcuts

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