Documentation
¶
Overview ¶
Package logger wraps charmbracelet/log behind slog, providing leveled structured logging with optional color and timestamps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(msg string, keysAndValues ...interface{})
Debug logs a message at DEBUG level; suppressed unless verbose logging is enabled.
func Error ¶
func Error(msg string, keysAndValues ...interface{})
Error logs a message at ERROR level.
func Info ¶
func Info(msg string, keysAndValues ...interface{})
Info logs a message at INFO level with optional structured key-value pairs.
func Initialize ¶
Initialize sets the global log level and output format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.