logs

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	INFO  = 0
	DEBUG = 1
)

Variables

View Source
var LogLevel int8

Functions

func LogDebug

func LogDebug(message string, v ...any)

func LogError

func LogError(message string, v ...any)

func LogInfo

func LogInfo(message string, v ...any)

func LogWarn

func LogWarn(message string, v ...any)

func SetLogger added in v1.6.0

func SetLogger(l Logger)

Types

type Logger added in v1.6.0

type Logger interface {
	Info(message string, v ...any)
	Error(message string, v ...any)
	Debug(message string, v ...any)
	Warn(message string, v ...any)
}

Jump to

Keyboard shortcuts

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