Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KugoCustomLogger ¶ added in v0.24.2
type KugoCustomLogger struct {
// contains filtered or unexported fields
}
KugoCustomLogger is a custom logger that uses slog and filters based on the log level
func NewKugoCustomLogger ¶ added in v0.24.2
func NewKugoCustomLogger(level LogLevel) *KugoCustomLogger
func (*KugoCustomLogger) Debug ¶ added in v0.24.2
func (l *KugoCustomLogger) Debug(message string, kvs ...ogmigo.KeyValue)
Debug logs debug-level messages only if log level is set to DEBUG
Click to show internal directories.
Click to hide internal directories.