logger

package
v0.0.0-...-3aa76b9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultLogger

func GetDefaultLogger(name string) *zap.Logger

GetDefaultLogger gets a named logger using the default implementation.

func GetLogger

func GetLogger(name string, level zapcore.Level) (*zap.Logger, error)

GetLogger creates a named logger for internal application logs.

func MustGetLogger

func MustGetLogger(name string, level zapcore.Level) *zap.Logger

MustGetLogger creates a names logger and panics on failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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