logger

package
v0.0.0-...-e4b64fd Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogLevel

func LogLevel(logLevel string) zapcore.Level

LogLevel returns the definition of levels in logs.

func LogSync

func LogSync(log *zap.SugaredLogger)

LogSync synchronizes a zap.SugaredLogger.

func NewLogger

func NewLogger() *zap.SugaredLogger

NewLogger instantiates a new zap.SugaredLogger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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