logger

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger() *zapLogger

Types

type Logger

type Logger interface {
	Infof(msg string, fields ...any)
	Info(msg string)
	Infow(msg string, fields ...string)
	Error(msg string)
	Errorf(msg string, fields ...any)
	Errorw(msg string, fields ...string)
	With(fields ...string) Logger
}
var (
	Null Logger = &null{}
)

Jump to

Keyboard shortcuts

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