Documentation
¶
Index ¶
- type ErrInfoExtractor
- type Logger
- func (_m *Logger) Debug(msg string)
- func (_m *Logger) Error(msg string)
- func (_m *Logger) Flush() error
- func (_m *Logger) Info(msg string)
- func (_m *Logger) Warn(msg string)
- func (_m *Logger) WithError(err error) logging.Logger
- func (_m *Logger) WithField(key string, value interface{}) logging.Logger
- func (_m *Logger) WithFields(fields logging.Fields) logging.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrInfoExtractor ¶
ErrInfoExtractor is an autogenerated mock type for the ErrInfoExtractor type
func NewErrInfoExtractor ¶
func NewErrInfoExtractor(t mockConstructorTestingTNewErrInfoExtractor) *ErrInfoExtractor
NewErrInfoExtractor creates a new instance of ErrInfoExtractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ErrInfoExtractor) Execute ¶
func (_m *ErrInfoExtractor) Execute(_a0 error) string
Execute provides a mock function with given fields: _a0
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func NewLogger ¶
func NewLogger(t mockConstructorTestingTNewLogger) *Logger
NewLogger creates a new instance of Logger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Click to show internal directories.
Click to hide internal directories.