Documentation
¶
Overview ¶
Package logrimp defines some common logr implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHclogLogger ¶
NewHclogLogger returns a new HCLog logger.
func NewLogrusLogger ¶
func NewLogrusLogger(logger logrus.FieldLogger) logr.Logger
NewLogrusLogger returns a logrus logger.
func NewSlogLogger ¶ added in v1.45.0
NewSlogLogger returns a new [slog logger](see https://pkg.go.dev/golang.org/x/exp/slog) which will be part of the standard library.
func NewStdOutLogr ¶
NewStdOutLogr returns a logger to standard out. See https://github.com/go-logr/logr/blob/ff91da8dc418a9e36998931ed4ab10b71833a368/example_test.go#L27
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.