logger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Err

func Err(err error) *zerolog.Event

Err returns logger event configured to enrich scope with additional context.

func Error

func Error(err error)

Error prints err message to the log in error scope.

func Info

func Info() *zerolog.Event

func Init

func Init()

Types

type Logger

type Logger struct {
	*zerolog.Logger
}
var (
	Log *Logger
)

Jump to

Keyboard shortcuts

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