Documentation ¶
Index ¶
- func NewLogr(writer io.Writer, lvl LogLevel) logr.Logger
- type LogLevel
- type Logger
- func (l Logger) Debug(msg string)
- func (l Logger) Debugf(format string, args ...any)
- func (l Logger) Error(err error)
- func (l Logger) Errorf(format string, args ...any)
- func (l Logger) Info(msg string)
- func (l Logger) Infof(format string, args ...any)
- func (l Logger) Level() LogLevel
- func (l Logger) Writer() io.Writer
- type Loggeriface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogLevel ¶
type LogLevel string
func ParseLevel ¶ added in v1.2.0
ParseLevel returns a LogLevel if found by string If not found will default to error possible values are `error`, `debug`, `info`
Click to show internal directories.
Click to hide internal directories.