Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶
func NewLogger(l logrus.FieldLogger, name ...string) logr.Logger
NewLogger will return a new logr.Logger from a logrus.FieldLogger.
func NewLoggerWithFormatter ¶
func NewLoggerWithFormatter(l logrus.FieldLogger, formatter func(interface{}) string, name ...string) logr.Logger
NewLoggerWithFormatter will return a new logr.Logger from a logrus.FieldLogger that uses provided function to format complex data types.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.