log

package
v0.0.0-...-c01ea1d Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 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 interface {
	AtLeast(level Level) bool
	String() string
	// contains filtered or unexported methods
}

func Debug

func Debug() Level

func Error

func Error() Level

func Info

func Info() Level

func ParseLevel

func ParseLevel(str string) (Level, error)

func Trace

func Trace() Level

func Warn

func Warn() Level

type Logger

type Logger interface {
	Trace(fmtMsg string, values ...any)
	Debug(fmtMsg string, values ...any)
	Info(fmtMsg string, values ...any)
	Warn(fmtMsg string, values ...any)
	Error(fmtMsg string, values ...any)
	Level() Level
}

Jump to

Keyboard shortcuts

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