logger

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoreDebug

func CoreDebug(args ...interface{})

func CoreError

func CoreError(args ...interface{})

func CoreInfo

func CoreInfo(args ...interface{})

func CoreWarning

func CoreWarning(args ...interface{})

func Debug

func Debug(args ...interface{})

func Error

func Error(args ...interface{})

func GetLogsFiltered

func GetLogsFiltered(c int, level string, source string, filter string) []string

func Info

func Info(args ...interface{})

func Infof

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

func Init

func Init(level Level)

func Slog

func Slog(source string) *slog.Logger

Slog returns a standard-library logger backed by the existing logger package facade and in-memory log buffer.

func Warning

func Warning(args ...interface{})

func Warningf

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

Types

type Level

type Level string
const (
	LevelDebug   Level = "debug"
	LevelInfo    Level = "info"
	LevelWarning Level = "warning"
	LevelError   Level = "error"
)

Jump to

Keyboard shortcuts

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