Documentation
¶
Index ¶
- type ErrorHandler
- type Logger
- func (l Logger) Enabled(level int) bool
- func (l Logger) Error(err error, msg string, keysAndValues ...any)
- func (l Logger) Info(level int, msg string, keysAndValues ...any)
- func (l Logger) Init(info logr.RuntimeInfo)
- func (l Logger) WithName(name string) logr.LogSink
- func (l Logger) WithValues(keysAndValues ...any) logr.LogSink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler struct {
// contains filtered or unexported fields
}
func NewErrorHandler ¶
func NewErrorHandler(l *zap.Logger) *ErrorHandler
func (*ErrorHandler) Handle ¶
func (h *ErrorHandler) Handle(err error)
func (*ErrorHandler) SetLogger ¶
func (h *ErrorHandler) SetLogger(l *zap.Logger)
Click to show internal directories.
Click to hide internal directories.