logger

package
v0.0.0-...-9ed9dee Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLevel = zerolog.DebugLevel
	InfoLevel  = zerolog.InfoLevel
	WarnLevel  = zerolog.WarnLevel
	ErrorLevel = zerolog.ErrorLevel
	FatalLevel = zerolog.FatalLevel
)

Variables

View Source
var (
	Logger  zerolog.Logger
	Level   zerolog.Level
	LogPath string
)

Functions

func Debug

func Debug(msg string)

func Debugf

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

func Error

func Error(msg string)

func Errorf

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

func Fatal

func Fatal(msg string)

func Fatalf

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

func Info

func Info(msg string)

func Infof

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

func Initialize

func Initialize(path string, logLevel zerolog.Level, unattended bool)

func Warn

func Warn(msg string)

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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