Documentation ¶
Index ¶
- type Adapter
- func (a Adapter) Debug(msg string, fields watermill.LogFields)
- func (a Adapter) Error(msg string, err error, fields watermill.LogFields)
- func (a Adapter) Info(msg string, fields watermill.LogFields)
- func (a Adapter) Trace(msg string, fields watermill.LogFields)
- func (a Adapter) With(fields watermill.LogFields) watermill.LoggerAdapter
- type Config
- type Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter implements watermill.LoggerAdapter.
func NewWithConfig ¶
NewWithConfig creates an instance with a given log level and a watermill group.
Click to show internal directories.
Click to hide internal directories.