Documentation ¶
Index ¶
- func NewWatermillLoggerAdapter(logger log.Logger) watermill.LoggerAdapter
- type BrokerConfig
- type NatsJsConsumerConfig
- type WatermillLoggerAdapter
- func (w *WatermillLoggerAdapter) Debug(msg string, fields watermill.LogFields)
- func (w *WatermillLoggerAdapter) Error(msg string, err error, fields watermill.LogFields)
- func (w *WatermillLoggerAdapter) Info(msg string, fields watermill.LogFields)
- func (w *WatermillLoggerAdapter) Trace(msg string, fields watermill.LogFields)
- func (w *WatermillLoggerAdapter) With(fields watermill.LogFields) watermill.LoggerAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWatermillLoggerAdapter ¶
func NewWatermillLoggerAdapter(logger log.Logger) watermill.LoggerAdapter
Types ¶
type NatsJsConsumerConfig ¶ added in v0.0.17
type WatermillLoggerAdapter ¶
type WatermillLoggerAdapter struct {
// contains filtered or unexported fields
}
func (*WatermillLoggerAdapter) Debug ¶
func (w *WatermillLoggerAdapter) Debug(msg string, fields watermill.LogFields)
Debug implements watermill.LoggerAdapter.
func (*WatermillLoggerAdapter) Error ¶
func (w *WatermillLoggerAdapter) Error(msg string, err error, fields watermill.LogFields)
Error implements watermill.LoggerAdapter.
func (*WatermillLoggerAdapter) Info ¶
func (w *WatermillLoggerAdapter) Info(msg string, fields watermill.LogFields)
Info implements watermill.LoggerAdapter.
func (*WatermillLoggerAdapter) Trace ¶
func (w *WatermillLoggerAdapter) Trace(msg string, fields watermill.LogFields)
Trace implements watermill.LoggerAdapter.
func (*WatermillLoggerAdapter) With ¶
func (w *WatermillLoggerAdapter) With(fields watermill.LogFields) watermill.LoggerAdapter
With implements watermill.LoggerAdapter.
Click to show internal directories.
Click to hide internal directories.