logger

package
v0.0.0-...-cd02152 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(err error, log *zap.SugaredLogger, message string)

Fatal checks if err is not nil then log message and calls os.Exit.

func New

func New() *zap.SugaredLogger

func Panic

func Panic(err error, log *zap.SugaredLogger, message string)

Panic logs a message at PanicLevel. The logger then panics, even if logging at PanicLevel is disabled

Types

This section is empty.

Jump to

Keyboard shortcuts

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