log

package
v0.0.0-...-076ee7e Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: LGPL-2.1 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHook

func AddHook(hook zerolog.Hook)

func Debug

func Debug(msg string)

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(msg string, err error)

func Errorf

func Errorf(format string, args ...interface{})

func Fatal

func Fatal(msg string, err error)

func Fatalf

func Fatalf(format string, args ...interface{})

func Info

func Info(msg string)

func Infof

func Infof(format string, args ...interface{})

func Init

func Init(lvl Level)

func Panic

func Panic(msg string, err error)

func Panicf

func Panicf(format string, args ...interface{})

func Trace

func Trace(msg string)

func Tracef

func Tracef(format string, args ...interface{})

func Warning

func Warning(msg string)

func Warningf

func Warningf(format string, args ...interface{})

Types

type Level

type Level zerolog.Level
const (
	LevelDebug Level = iota
	LevelInfo
	LevelWarning
	LevelError
	LevelFatal
	LevelPanic
)

func (*Level) Zerolog

func (lvl *Level) Zerolog() zerolog.Level

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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