log

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *slog.Logger

Logger is the global logger instance

Functions

func Debug

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

Debug logs a debug message

func EnableGlobalHTTP

func EnableGlobalHTTP()

func Error

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

Error logs an error message

func Info

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

Info logs an info message

func InitLogger

func InitLogger()

InitLogger initializes the global logger It sets the log level to Debug if MIRU_DEBUG is set

func Warn

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

Warn logs a warning message

Types

This section is empty.

Jump to

Keyboard shortcuts

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