Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) Debug(msg string, fields watermill.LogFields)
- func (l *Logger) Error(msg string, err error, fields watermill.LogFields)
- func (l *Logger) Info(msg string, fields watermill.LogFields)
- func (l *Logger) Trace(msg string, fields watermill.LogFields)
- func (l *Logger) With(fields watermill.LogFields) watermill.LoggerAdapter
Constants ¶
View Source
const Module = "watermill"
Module is the name of the Watermill module used for logging.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger wraps the TrustBloc logger and implements the Watermill logger adapter interface.
Click to show internal directories.
Click to hide internal directories.