Documentation
¶
Index ¶
Constants ¶
View Source
const ( VDebug = -int(slog.LevelDebug) VTrace = 8 )
slog uses negative levels to increase verbosity, but logr uses positive There is a mapping such that calling log.V(x) will translate this to call slog's handler with Level(-x). We therefore need to use increasingly positive values to imply increased log level
Variables ¶
View Source
var DefaultLogger logr.Logger
Functions ¶
func SetDefaultLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.
