qlog

package
v0.1.152 Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string, args ...any)

func Error

func Error(message string, args ...any)

func Info

func Info(message string, args ...any)

func Log

func Log(level qprotobufs.LogMessage_LogLevelEnum, message string, args ...any)

func Panic

func Panic(message string, args ...any)

func SetLevel

func SetLevel(level Level)

func SetLibLevel

func SetLibLevel(level Level)

func Trace

func Trace(message string, args ...any)

func Truncate

func Truncate(text string, width int) string

func Warn

func Warn(message string, args ...any)

Types

type Level

type Level int
const (
	UNSPECIFIED Level = iota
	TRACE
	DEBUG
	INFO
	WARN
	ERROR
	PANIC
)

func GetLevel

func GetLevel() Level

func GetLibLevel

func GetLibLevel() Level

func (Level) String

func (l Level) String() string

Jump to

Keyboard shortcuts

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