logging

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logging provides an internal logger that can be configured by the client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Debug logs a debug message.

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 L

func L() *slog.Logger

L returns the current internal logger.

func SetDefault

func SetDefault(l *slog.Logger)

SetDefault sets the internal default logger. If l is nil, slog.Default() is used.

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