mudlog

package
v0.9.8-210-use-accesso... Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

func Error

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

func Info

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

func SetLogLevel

func SetLogLevel(lvl string)

func SetupLogger

func SetupLogger(inGameLogger teeLogger, logLevel string, logPath string, colorLogs bool)

func Warn

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

Types

type LogHandler

type LogHandler struct {
	slog.Handler
	// contains filtered or unexported fields
}

func (*LogHandler) Handle

func (h *LogHandler) Handle(ctx context.Context, r slog.Record) error

Jump to

Keyboard shortcuts

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