logging

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...any)

func Error

func Error(args ...any)

func Fatal

func Fatal(args ...any)

func Info

func Info(args ...any)

func Panic

func Panic(args ...any)

func SetLogger

func SetLogger(l Log)

func SetLoggerZeroLog

func SetLoggerZeroLog(l zerolog.Logger)

func Warn

func Warn(args ...any)

Types

type Log

type Log interface {
	Fatal(args ...any)
	Panic(args ...any)
	Error(args ...any)
	Warn(args ...any)
	Info(args ...any)
	Debug(args ...any)
}

Jump to

Keyboard shortcuts

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