Documentation
¶
Overview ¶
internal/log/log.go
Package log provides a minimal logging abstraction for Aether. It wraps the standard library logger and exposes four severity levels.
The purpose of this abstraction is to avoid forcing a specific logging framework on Aether users, while still enabling internal packages to emit useful diagnostics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debugf(format string, args ...any)
Infof(format string, args ...any)
Warnf(format string, args ...any)
Errorf(format string, args ...any)
}
Logger is the interface that Aether uses for logging.
It is intentionally small so that it can be easily adapted to other logging frameworks if needed.
Click to show internal directories.
Click to hide internal directories.