log

package
v0.0.0-...-1b273c6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level zapcore.Level
const (
	LevelDebug Level = Level(zapcore.DebugLevel)
	LevelInfo  Level = Level(zapcore.InfoLevel)
	LevelError Level = Level(zapcore.ErrorLevel)
)

type Logger

type Logger interface {
	Debugf(msg string, vars ...interface{})
	Infof(msg string, vars ...interface{})
	Errorf(msg string, vars ...interface{})
}

func New

func New(level Level, l Logger) Logger

Jump to

Keyboard shortcuts

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