Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Info(msg string, attrs ...any)
Error(msg string, attrs ...any)
Debug(msg string, attrs ...any)
}
Logger is a minimal structured logging abstraction used across the project. Implementations should keep behaviour lightweight so tests and libraries can substitute no-op or test loggers.
var NoopLogger Logger = &noopLogger{}
For convenience expose a singleton no-op value
func NewSlogLogger ¶
NewSlogLogger returns a Logger backed by the provided *slog.Logger.
Click to show internal directories.
Click to hide internal directories.