Documentation ¶
Index ¶
- type Logger
- func (_m *Logger) Crit(msg string, ctx ...interface{})
- func (_m *Logger) Debug(msg string, ctx ...interface{})
- func (_m *Logger) Error(msg string, ctx ...interface{})
- func (_m *Logger) GetHandler() log.Handler
- func (_m *Logger) Info(msg string, ctx ...interface{})
- func (_m *Logger) New(ctx ...interface{}) log.Logger
- func (_m *Logger) SetHandler(h log.Handler)
- func (_m *Logger) SetSkipLevel(skip int)
- func (_m *Logger) Trace(msg string, ctx ...interface{})
- func (_m *Logger) Warn(msg string, ctx ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
func (*Logger) GetHandler ¶
GetHandler provides a mock function with given fields:
func (*Logger) SetHandler ¶
SetHandler provides a mock function with given fields: h
func (*Logger) SetSkipLevel ¶
SetSkipLevel provides a mock function with given fields: skip
Click to show internal directories.
Click to hide internal directories.