Documentation
¶
Overview ¶
Package log provides centralized logging functionality for all duckfile components. It supports hierarchical log levels (Error < Warn < Info < Debug) and consistent formatting across the entire application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
Debugf logs a debug message if the current level is Debug or higher. Debug messages are prefixed with [debug].
func Errorf ¶
Errorf logs an error message if the current level is Error or higher. Error messages are prefixed with [error].
func IsLevelEnabled ¶
IsLevelEnabled returns true if the given level would be logged at the current log level. This can be used to avoid expensive operations when logging is disabled.
Types ¶
Click to show internal directories.
Click to hide internal directories.