Documentation ¶
Overview ¶
Package log provides logging for the kube-volume-freezer project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupAndHarmonize ¶
func SetupAndHarmonize(verbose bool)
SetupAndHarmonize configures logging including third-party loggers.
Types ¶
type DebugLogger ¶
type DebugLogger struct { // Optionally prepend a prefix on each print. Prefix string }
DebugLogger implements the go-restful logger printing to debug using logrus.
func (*DebugLogger) Print ¶
func (l *DebugLogger) Print(v ...interface{})
Print calls logrus.Debug().
func (*DebugLogger) Printf ¶
func (l *DebugLogger) Printf(format string, v ...interface{})
Printf calls logrus.Debuf().
Click to show internal directories.
Click to hide internal directories.