logger

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(msg string, keyvals ...interface{})
	Info(msg string, keyvals ...interface{})
	Warn(msg string, keyvals ...interface{})
	Error(msg string, keyvals ...interface{})
	ErrorWithoutSTT(msg string, keyvals ...interface{})
	Fatal(msg string, keyvals ...interface{})
}

Logger interface that will abstract logging functionality

func Get

func Get() Logger

func NewZaplogger

func NewZaplogger() (Logger, error)

NewZapLogger will return a new production logger backed by zap

Jump to

Keyboard shortcuts

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