Documentation ¶
Index ¶
- type LogrusLogr
- func (log *LogrusLogr) Enabled() bool
- func (log *LogrusLogr) Error(err error, msg string, keysAndValues ...interface{})
- func (log *LogrusLogr) Info(msg string, keysAndValues ...interface{})
- func (log *LogrusLogr) V(level int) logr.Logger
- func (log *LogrusLogr) WithName(name string) logr.Logger
- func (log *LogrusLogr) WithValues(keysAndValues ...interface{}) logr.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogrusLogr ¶
func (*LogrusLogr) Enabled ¶
func (log *LogrusLogr) Enabled() bool
func (*LogrusLogr) Error ¶
func (log *LogrusLogr) Error(err error, msg string, keysAndValues ...interface{})
func (*LogrusLogr) Info ¶
func (log *LogrusLogr) Info(msg string, keysAndValues ...interface{})
func (*LogrusLogr) WithName ¶
func (log *LogrusLogr) WithName(name string) logr.Logger
WithName adds a new element to the logger's name. Successive calls with WithName continue to append suffixes to the logger's name. It's strongly recommended that name segments contain only letters, digits, and hyphens (see the package documentation for more information).
func (*LogrusLogr) WithValues ¶
func (log *LogrusLogr) WithValues(keysAndValues ...interface{}) logr.Logger
WithValues adds some key-value pairs of context to a logger. See Info for documentation on how key/value pairs work.
Click to show internal directories.
Click to hide internal directories.