Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger wraps a logur logger and exposes it under a custom interface.
func NewNoopLogger ¶
func NewNoopLogger() *Logger
NewNoopLogger returns a logger that discards all received log events.
func (*Logger) WithFields ¶
func (l *Logger) WithFields(fields map[string]interface{}) greetingworker.Logger
WithFields annotates a logger with some context.
Click to show internal directories.
Click to hide internal directories.