zLogger

package
v2.0.27 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 147

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogLevel added in v2.0.21

func LogLevel(str string) zerolog.Level

Types

type ZLogger

type ZLogger interface {
	Trace() *zerolog.Event

	Debug() *zerolog.Event

	Info() *zerolog.Event

	Warn() *zerolog.Event

	Error() *zerolog.Event

	Err(err error) *zerolog.Event

	Fatal() *zerolog.Event

	Panic() *zerolog.Event
}

type ZWrapper added in v2.0.25

type ZWrapper interface {
	Error(args ...any)
	Errorf(msg string, args ...any)
	Warning(args ...any)
	Warningf(msg string, args ...any)
	Info(args ...any)
	Infof(msg string, args ...any)
	Debug(args ...any)
	Debugf(msg string, args ...any)
	Fatal(args ...any)
	Fatalf(msg string, args ...any)
	Panic(args ...any)
	Panicf(msg string, args ...any)
}

func NewZWrapper added in v2.0.25

func NewZWrapper(z ZLogger) ZWrapper

Jump to

Keyboard shortcuts

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