Documentation ¶
Index ¶
- type Logger
- func (_m *Logger) Debug(args ...interface{})
- func (_m *Logger) Debugf(template string, args ...interface{})
- func (_m *Logger) EXPECT() *Logger_Expecter
- func (_m *Logger) Error(args ...interface{})
- func (_m *Logger) Errorf(template string, args ...interface{})
- func (_m *Logger) GetFxLogger() fxevent.Logger
- func (_m *Logger) GetGormLogger() gormlogger.Interface
- func (_m *Logger) GetZapLogger() *zap.Logger
- func (_m *Logger) Info(args ...interface{})
- func (_m *Logger) Infof(template string, args ...interface{})
- func (_m *Logger) Warn(args ...interface{})
- func (_m *Logger) Warnf(template string, args ...interface{})
- type Logger_Debug_Call
- type Logger_Debugf_Call
- type Logger_Error_Call
- type Logger_Errorf_Call
- type Logger_Expecter
- func (_e *Logger_Expecter) Debug(args ...interface{}) *Logger_Debug_Call
- func (_e *Logger_Expecter) Debugf(template interface{}, args ...interface{}) *Logger_Debugf_Call
- func (_e *Logger_Expecter) Error(args ...interface{}) *Logger_Error_Call
- func (_e *Logger_Expecter) Errorf(template interface{}, args ...interface{}) *Logger_Errorf_Call
- func (_e *Logger_Expecter) GetFxLogger() *Logger_GetFxLogger_Call
- func (_e *Logger_Expecter) GetGormLogger() *Logger_GetGormLogger_Call
- func (_e *Logger_Expecter) GetZapLogger() *Logger_GetZapLogger_Call
- func (_e *Logger_Expecter) Info(args ...interface{}) *Logger_Info_Call
- func (_e *Logger_Expecter) Infof(template interface{}, args ...interface{}) *Logger_Infof_Call
- func (_e *Logger_Expecter) Warn(args ...interface{}) *Logger_Warn_Call
- func (_e *Logger_Expecter) Warnf(template interface{}, args ...interface{}) *Logger_Warnf_Call
- type Logger_GetFxLogger_Call
- type Logger_GetGormLogger_Call
- type Logger_GetZapLogger_Call
- type Logger_Info_Call
- type Logger_Infof_Call
- type Logger_Warn_Call
- type Logger_Warnf_Call
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) Debug ¶
func (_m *Logger) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*Logger) EXPECT ¶
func (_m *Logger) EXPECT() *Logger_Expecter
func (*Logger) Error ¶
func (_m *Logger) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*Logger) GetFxLogger ¶
GetFxLogger provides a mock function with given fields:
func (*Logger) GetGormLogger ¶
func (_m *Logger) GetGormLogger() gormlogger.Interface
GetGormLogger provides a mock function with given fields:
func (*Logger) GetZapLogger ¶
GetZapLogger provides a mock function with given fields:
func (*Logger) Info ¶
func (_m *Logger) Info(args ...interface{})
Info provides a mock function with given fields: args
type Logger_Debug_Call ¶
Logger_Debug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debug'
func (*Logger_Debug_Call) Return ¶
func (_c *Logger_Debug_Call) Return() *Logger_Debug_Call
func (*Logger_Debug_Call) Run ¶
func (_c *Logger_Debug_Call) Run(run func(args ...interface{})) *Logger_Debug_Call
type Logger_Debugf_Call ¶
Logger_Debugf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugf'
func (*Logger_Debugf_Call) Return ¶
func (_c *Logger_Debugf_Call) Return() *Logger_Debugf_Call
func (*Logger_Debugf_Call) Run ¶
func (_c *Logger_Debugf_Call) Run(run func(template string, args ...interface{})) *Logger_Debugf_Call
type Logger_Error_Call ¶
Logger_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Logger_Error_Call) Return ¶
func (_c *Logger_Error_Call) Return() *Logger_Error_Call
func (*Logger_Error_Call) Run ¶
func (_c *Logger_Error_Call) Run(run func(args ...interface{})) *Logger_Error_Call
type Logger_Errorf_Call ¶
Logger_Errorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorf'
func (*Logger_Errorf_Call) Return ¶
func (_c *Logger_Errorf_Call) Return() *Logger_Errorf_Call
func (*Logger_Errorf_Call) Run ¶
func (_c *Logger_Errorf_Call) Run(run func(template string, args ...interface{})) *Logger_Errorf_Call
type Logger_Expecter ¶
type Logger_Expecter struct {
// contains filtered or unexported fields
}
func (*Logger_Expecter) Debug ¶
func (_e *Logger_Expecter) Debug(args ...interface{}) *Logger_Debug_Call
Debug is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Debugf ¶
func (_e *Logger_Expecter) Debugf(template interface{}, args ...interface{}) *Logger_Debugf_Call
Debugf is a helper method to define mock.On call
- template string
- args ...interface{}
func (*Logger_Expecter) Error ¶
func (_e *Logger_Expecter) Error(args ...interface{}) *Logger_Error_Call
Error is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Errorf ¶
func (_e *Logger_Expecter) Errorf(template interface{}, args ...interface{}) *Logger_Errorf_Call
Errorf is a helper method to define mock.On call
- template string
- args ...interface{}
func (*Logger_Expecter) GetFxLogger ¶
func (_e *Logger_Expecter) GetFxLogger() *Logger_GetFxLogger_Call
GetFxLogger is a helper method to define mock.On call
func (*Logger_Expecter) GetGormLogger ¶
func (_e *Logger_Expecter) GetGormLogger() *Logger_GetGormLogger_Call
GetGormLogger is a helper method to define mock.On call
func (*Logger_Expecter) GetZapLogger ¶
func (_e *Logger_Expecter) GetZapLogger() *Logger_GetZapLogger_Call
GetZapLogger is a helper method to define mock.On call
func (*Logger_Expecter) Info ¶
func (_e *Logger_Expecter) Info(args ...interface{}) *Logger_Info_Call
Info is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Infof ¶
func (_e *Logger_Expecter) Infof(template interface{}, args ...interface{}) *Logger_Infof_Call
Infof is a helper method to define mock.On call
- template string
- args ...interface{}
func (*Logger_Expecter) Warn ¶
func (_e *Logger_Expecter) Warn(args ...interface{}) *Logger_Warn_Call
Warn is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Warnf ¶
func (_e *Logger_Expecter) Warnf(template interface{}, args ...interface{}) *Logger_Warnf_Call
Warnf is a helper method to define mock.On call
- template string
- args ...interface{}
type Logger_GetFxLogger_Call ¶
Logger_GetFxLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFxLogger'
func (*Logger_GetFxLogger_Call) Return ¶
func (_c *Logger_GetFxLogger_Call) Return(_a0 fxevent.Logger) *Logger_GetFxLogger_Call
func (*Logger_GetFxLogger_Call) Run ¶
func (_c *Logger_GetFxLogger_Call) Run(run func()) *Logger_GetFxLogger_Call
type Logger_GetGormLogger_Call ¶
Logger_GetGormLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGormLogger'
func (*Logger_GetGormLogger_Call) Return ¶
func (_c *Logger_GetGormLogger_Call) Return(_a0 gormlogger.Interface) *Logger_GetGormLogger_Call
func (*Logger_GetGormLogger_Call) Run ¶
func (_c *Logger_GetGormLogger_Call) Run(run func()) *Logger_GetGormLogger_Call
type Logger_GetZapLogger_Call ¶
Logger_GetZapLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetZapLogger'
func (*Logger_GetZapLogger_Call) Return ¶
func (_c *Logger_GetZapLogger_Call) Return(_a0 *zap.Logger) *Logger_GetZapLogger_Call
func (*Logger_GetZapLogger_Call) Run ¶
func (_c *Logger_GetZapLogger_Call) Run(run func()) *Logger_GetZapLogger_Call
type Logger_Info_Call ¶
Logger_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*Logger_Info_Call) Return ¶
func (_c *Logger_Info_Call) Return() *Logger_Info_Call
func (*Logger_Info_Call) Run ¶
func (_c *Logger_Info_Call) Run(run func(args ...interface{})) *Logger_Info_Call
type Logger_Infof_Call ¶
Logger_Infof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infof'
func (*Logger_Infof_Call) Return ¶
func (_c *Logger_Infof_Call) Return() *Logger_Infof_Call
func (*Logger_Infof_Call) Run ¶
func (_c *Logger_Infof_Call) Run(run func(template string, args ...interface{})) *Logger_Infof_Call
type Logger_Warn_Call ¶
Logger_Warn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warn'
func (*Logger_Warn_Call) Return ¶
func (_c *Logger_Warn_Call) Return() *Logger_Warn_Call
func (*Logger_Warn_Call) Run ¶
func (_c *Logger_Warn_Call) Run(run func(args ...interface{})) *Logger_Warn_Call
type Logger_Warnf_Call ¶
Logger_Warnf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warnf'
func (*Logger_Warnf_Call) Return ¶
func (_c *Logger_Warnf_Call) Return() *Logger_Warnf_Call
func (*Logger_Warnf_Call) Run ¶
func (_c *Logger_Warnf_Call) Run(run func(template string, args ...interface{})) *Logger_Warnf_Call