Documentation
¶
Index ¶
- type Entry
- type Entry_Context_Call
- type Entry_Expecter
- type Entry_Level_Call
- type Entry_Message_Call
- type Entry_Time_Call
- type Hook
- type Hook_Expecter
- type Hook_Fire_Call
- type Hook_Levels_Call
- type Log
- func (_m *Log) Channel(channel string) log.Writer
- func (_m *Log) Code(code string) log.Writer
- func (_m *Log) Debug(args ...interface{})
- func (_m *Log) Debugf(format string, args ...interface{})
- func (_m *Log) EXPECT() *Log_Expecter
- func (_m *Log) Error(args ...interface{})
- func (_m *Log) Errorf(format string, args ...interface{})
- func (_m *Log) Fatal(args ...interface{})
- func (_m *Log) Fatalf(format string, args ...interface{})
- func (_m *Log) Hint(hint string) log.Writer
- func (_m *Log) In(domain string) log.Writer
- func (_m *Log) Info(args ...interface{})
- func (_m *Log) Infof(format string, args ...interface{})
- func (_m *Log) Owner(owner interface{}) log.Writer
- func (_m *Log) Panic(args ...interface{})
- func (_m *Log) Panicf(format string, args ...interface{})
- func (_m *Log) Request(req http.ContextRequest) log.Writer
- func (_m *Log) Response(res http.ContextResponse) log.Writer
- func (_m *Log) Stack(channels []string) log.Writer
- func (_m *Log) Tags(tags ...string) log.Writer
- func (_m *Log) User(user interface{}) log.Writer
- func (_m *Log) Warning(args ...interface{})
- func (_m *Log) Warningf(format string, args ...interface{})
- func (_m *Log) With(data map[string]interface{}) log.Writer
- func (_m *Log) WithContext(ctx context.Context) log.Writer
- func (_m *Log) WithTrace() log.Writer
- type Log_Channel_Call
- type Log_Code_Call
- type Log_Debug_Call
- type Log_Debugf_Call
- type Log_Error_Call
- type Log_Errorf_Call
- type Log_Expecter
- func (_e *Log_Expecter) Channel(channel interface{}) *Log_Channel_Call
- func (_e *Log_Expecter) Code(code interface{}) *Log_Code_Call
- func (_e *Log_Expecter) Debug(args ...interface{}) *Log_Debug_Call
- func (_e *Log_Expecter) Debugf(format interface{}, args ...interface{}) *Log_Debugf_Call
- func (_e *Log_Expecter) Error(args ...interface{}) *Log_Error_Call
- func (_e *Log_Expecter) Errorf(format interface{}, args ...interface{}) *Log_Errorf_Call
- func (_e *Log_Expecter) Fatal(args ...interface{}) *Log_Fatal_Call
- func (_e *Log_Expecter) Fatalf(format interface{}, args ...interface{}) *Log_Fatalf_Call
- func (_e *Log_Expecter) Hint(hint interface{}) *Log_Hint_Call
- func (_e *Log_Expecter) In(domain interface{}) *Log_In_Call
- func (_e *Log_Expecter) Info(args ...interface{}) *Log_Info_Call
- func (_e *Log_Expecter) Infof(format interface{}, args ...interface{}) *Log_Infof_Call
- func (_e *Log_Expecter) Owner(owner interface{}) *Log_Owner_Call
- func (_e *Log_Expecter) Panic(args ...interface{}) *Log_Panic_Call
- func (_e *Log_Expecter) Panicf(format interface{}, args ...interface{}) *Log_Panicf_Call
- func (_e *Log_Expecter) Request(req interface{}) *Log_Request_Call
- func (_e *Log_Expecter) Response(res interface{}) *Log_Response_Call
- func (_e *Log_Expecter) Stack(channels interface{}) *Log_Stack_Call
- func (_e *Log_Expecter) Tags(tags ...interface{}) *Log_Tags_Call
- func (_e *Log_Expecter) User(user interface{}) *Log_User_Call
- func (_e *Log_Expecter) Warning(args ...interface{}) *Log_Warning_Call
- func (_e *Log_Expecter) Warningf(format interface{}, args ...interface{}) *Log_Warningf_Call
- func (_e *Log_Expecter) With(data interface{}) *Log_With_Call
- func (_e *Log_Expecter) WithContext(ctx interface{}) *Log_WithContext_Call
- func (_e *Log_Expecter) WithTrace() *Log_WithTrace_Call
- type Log_Fatal_Call
- type Log_Fatalf_Call
- type Log_Hint_Call
- type Log_In_Call
- type Log_Info_Call
- type Log_Infof_Call
- type Log_Owner_Call
- type Log_Panic_Call
- type Log_Panicf_Call
- type Log_Request_Call
- type Log_Response_Call
- type Log_Stack_Call
- type Log_Tags_Call
- type Log_User_Call
- type Log_Warning_Call
- type Log_Warningf_Call
- type Log_WithContext_Call
- type Log_WithTrace_Call
- type Log_With_Call
- type Logger
- type Logger_Expecter
- type Logger_Handle_Call
- type Writer
- func (_m *Writer) Code(code string) log.Writer
- func (_m *Writer) Debug(args ...interface{})
- func (_m *Writer) Debugf(format string, args ...interface{})
- func (_m *Writer) EXPECT() *Writer_Expecter
- func (_m *Writer) Error(args ...interface{})
- func (_m *Writer) Errorf(format string, args ...interface{})
- func (_m *Writer) Fatal(args ...interface{})
- func (_m *Writer) Fatalf(format string, args ...interface{})
- func (_m *Writer) Hint(hint string) log.Writer
- func (_m *Writer) In(domain string) log.Writer
- func (_m *Writer) Info(args ...interface{})
- func (_m *Writer) Infof(format string, args ...interface{})
- func (_m *Writer) Owner(owner interface{}) log.Writer
- func (_m *Writer) Panic(args ...interface{})
- func (_m *Writer) Panicf(format string, args ...interface{})
- func (_m *Writer) Request(req http.ContextRequest) log.Writer
- func (_m *Writer) Response(res http.ContextResponse) log.Writer
- func (_m *Writer) Tags(tags ...string) log.Writer
- func (_m *Writer) User(user interface{}) log.Writer
- func (_m *Writer) Warning(args ...interface{})
- func (_m *Writer) Warningf(format string, args ...interface{})
- func (_m *Writer) With(data map[string]interface{}) log.Writer
- func (_m *Writer) WithTrace() log.Writer
- type Writer_Code_Call
- type Writer_Debug_Call
- type Writer_Debugf_Call
- type Writer_Error_Call
- type Writer_Errorf_Call
- type Writer_Expecter
- func (_e *Writer_Expecter) Code(code interface{}) *Writer_Code_Call
- func (_e *Writer_Expecter) Debug(args ...interface{}) *Writer_Debug_Call
- func (_e *Writer_Expecter) Debugf(format interface{}, args ...interface{}) *Writer_Debugf_Call
- func (_e *Writer_Expecter) Error(args ...interface{}) *Writer_Error_Call
- func (_e *Writer_Expecter) Errorf(format interface{}, args ...interface{}) *Writer_Errorf_Call
- func (_e *Writer_Expecter) Fatal(args ...interface{}) *Writer_Fatal_Call
- func (_e *Writer_Expecter) Fatalf(format interface{}, args ...interface{}) *Writer_Fatalf_Call
- func (_e *Writer_Expecter) Hint(hint interface{}) *Writer_Hint_Call
- func (_e *Writer_Expecter) In(domain interface{}) *Writer_In_Call
- func (_e *Writer_Expecter) Info(args ...interface{}) *Writer_Info_Call
- func (_e *Writer_Expecter) Infof(format interface{}, args ...interface{}) *Writer_Infof_Call
- func (_e *Writer_Expecter) Owner(owner interface{}) *Writer_Owner_Call
- func (_e *Writer_Expecter) Panic(args ...interface{}) *Writer_Panic_Call
- func (_e *Writer_Expecter) Panicf(format interface{}, args ...interface{}) *Writer_Panicf_Call
- func (_e *Writer_Expecter) Request(req interface{}) *Writer_Request_Call
- func (_e *Writer_Expecter) Response(res interface{}) *Writer_Response_Call
- func (_e *Writer_Expecter) Tags(tags ...interface{}) *Writer_Tags_Call
- func (_e *Writer_Expecter) User(user interface{}) *Writer_User_Call
- func (_e *Writer_Expecter) Warning(args ...interface{}) *Writer_Warning_Call
- func (_e *Writer_Expecter) Warningf(format interface{}, args ...interface{}) *Writer_Warningf_Call
- func (_e *Writer_Expecter) With(data interface{}) *Writer_With_Call
- func (_e *Writer_Expecter) WithTrace() *Writer_WithTrace_Call
- type Writer_Fatal_Call
- type Writer_Fatalf_Call
- type Writer_Hint_Call
- type Writer_In_Call
- type Writer_Info_Call
- type Writer_Infof_Call
- type Writer_Owner_Call
- type Writer_Panic_Call
- type Writer_Panicf_Call
- type Writer_Request_Call
- type Writer_Response_Call
- type Writer_Tags_Call
- type Writer_User_Call
- type Writer_Warning_Call
- type Writer_Warningf_Call
- type Writer_WithTrace_Call
- type Writer_With_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is an autogenerated mock type for the Entry type
func NewEntry ¶
NewEntry creates a new instance of Entry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Entry) EXPECT ¶
func (_m *Entry) EXPECT() *Entry_Expecter
type Entry_Context_Call ¶
Entry_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*Entry_Context_Call) Return ¶
func (_c *Entry_Context_Call) Return(_a0 context.Context) *Entry_Context_Call
func (*Entry_Context_Call) Run ¶
func (_c *Entry_Context_Call) Run(run func()) *Entry_Context_Call
func (*Entry_Context_Call) RunAndReturn ¶
func (_c *Entry_Context_Call) RunAndReturn(run func() context.Context) *Entry_Context_Call
type Entry_Expecter ¶
type Entry_Expecter struct {
// contains filtered or unexported fields
}
func (*Entry_Expecter) Context ¶
func (_e *Entry_Expecter) Context() *Entry_Context_Call
Context is a helper method to define mock.On call
func (*Entry_Expecter) Level ¶
func (_e *Entry_Expecter) Level() *Entry_Level_Call
Level is a helper method to define mock.On call
func (*Entry_Expecter) Message ¶
func (_e *Entry_Expecter) Message() *Entry_Message_Call
Message is a helper method to define mock.On call
func (*Entry_Expecter) Time ¶
func (_e *Entry_Expecter) Time() *Entry_Time_Call
Time is a helper method to define mock.On call
type Entry_Level_Call ¶
Entry_Level_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Level'
func (*Entry_Level_Call) Return ¶
func (_c *Entry_Level_Call) Return(_a0 log.Level) *Entry_Level_Call
func (*Entry_Level_Call) Run ¶
func (_c *Entry_Level_Call) Run(run func()) *Entry_Level_Call
func (*Entry_Level_Call) RunAndReturn ¶
func (_c *Entry_Level_Call) RunAndReturn(run func() log.Level) *Entry_Level_Call
type Entry_Message_Call ¶
Entry_Message_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Message'
func (*Entry_Message_Call) Return ¶
func (_c *Entry_Message_Call) Return(_a0 string) *Entry_Message_Call
func (*Entry_Message_Call) Run ¶
func (_c *Entry_Message_Call) Run(run func()) *Entry_Message_Call
func (*Entry_Message_Call) RunAndReturn ¶
func (_c *Entry_Message_Call) RunAndReturn(run func() string) *Entry_Message_Call
type Entry_Time_Call ¶
Entry_Time_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Time'
func (*Entry_Time_Call) Return ¶
func (_c *Entry_Time_Call) Return(_a0 time.Time) *Entry_Time_Call
func (*Entry_Time_Call) Run ¶
func (_c *Entry_Time_Call) Run(run func()) *Entry_Time_Call
func (*Entry_Time_Call) RunAndReturn ¶
func (_c *Entry_Time_Call) RunAndReturn(run func() time.Time) *Entry_Time_Call
type Hook ¶
Hook is an autogenerated mock type for the Hook type
func NewHook ¶
NewHook creates a new instance of Hook. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Hook) EXPECT ¶
func (_m *Hook) EXPECT() *Hook_Expecter
type Hook_Expecter ¶
type Hook_Expecter struct {
// contains filtered or unexported fields
}
func (*Hook_Expecter) Fire ¶
func (_e *Hook_Expecter) Fire(_a0 interface{}) *Hook_Fire_Call
Fire is a helper method to define mock.On call
- _a0 log.Entry
func (*Hook_Expecter) Levels ¶
func (_e *Hook_Expecter) Levels() *Hook_Levels_Call
Levels is a helper method to define mock.On call
type Hook_Fire_Call ¶
Hook_Fire_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fire'
func (*Hook_Fire_Call) Return ¶
func (_c *Hook_Fire_Call) Return(_a0 error) *Hook_Fire_Call
func (*Hook_Fire_Call) Run ¶
func (_c *Hook_Fire_Call) Run(run func(_a0 log.Entry)) *Hook_Fire_Call
func (*Hook_Fire_Call) RunAndReturn ¶
func (_c *Hook_Fire_Call) RunAndReturn(run func(log.Entry) error) *Hook_Fire_Call
type Hook_Levels_Call ¶
Hook_Levels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Levels'
func (*Hook_Levels_Call) Return ¶
func (_c *Hook_Levels_Call) Return(_a0 []log.Level) *Hook_Levels_Call
func (*Hook_Levels_Call) Run ¶
func (_c *Hook_Levels_Call) Run(run func()) *Hook_Levels_Call
func (*Hook_Levels_Call) RunAndReturn ¶
func (_c *Hook_Levels_Call) RunAndReturn(run func() []log.Level) *Hook_Levels_Call
type Log ¶
Log is an autogenerated mock type for the Log type
func NewLog ¶
NewLog creates a new instance of Log. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Log) Debug ¶
func (_m *Log) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*Log) EXPECT ¶
func (_m *Log) EXPECT() *Log_Expecter
func (*Log) Error ¶
func (_m *Log) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*Log) Fatal ¶
func (_m *Log) Fatal(args ...interface{})
Fatal provides a mock function with given fields: args
func (*Log) Info ¶
func (_m *Log) Info(args ...interface{})
Info provides a mock function with given fields: args
func (*Log) Panic ¶
func (_m *Log) Panic(args ...interface{})
Panic provides a mock function with given fields: args
func (*Log) Request ¶
func (_m *Log) Request(req http.ContextRequest) log.Writer
Request provides a mock function with given fields: req
func (*Log) Response ¶
func (_m *Log) Response(res http.ContextResponse) log.Writer
Response provides a mock function with given fields: res
func (*Log) Warning ¶
func (_m *Log) Warning(args ...interface{})
Warning provides a mock function with given fields: args
func (*Log) WithContext ¶
WithContext provides a mock function with given fields: ctx
type Log_Channel_Call ¶
Log_Channel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Channel'
func (*Log_Channel_Call) Return ¶
func (_c *Log_Channel_Call) Return(_a0 log.Writer) *Log_Channel_Call
func (*Log_Channel_Call) Run ¶
func (_c *Log_Channel_Call) Run(run func(channel string)) *Log_Channel_Call
func (*Log_Channel_Call) RunAndReturn ¶
func (_c *Log_Channel_Call) RunAndReturn(run func(string) log.Writer) *Log_Channel_Call
type Log_Code_Call ¶
Log_Code_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Code'
func (*Log_Code_Call) Return ¶
func (_c *Log_Code_Call) Return(_a0 log.Writer) *Log_Code_Call
func (*Log_Code_Call) Run ¶
func (_c *Log_Code_Call) Run(run func(code string)) *Log_Code_Call
func (*Log_Code_Call) RunAndReturn ¶
func (_c *Log_Code_Call) RunAndReturn(run func(string) log.Writer) *Log_Code_Call
type Log_Debug_Call ¶
Log_Debug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debug'
func (*Log_Debug_Call) Return ¶
func (_c *Log_Debug_Call) Return() *Log_Debug_Call
func (*Log_Debug_Call) Run ¶
func (_c *Log_Debug_Call) Run(run func(args ...interface{})) *Log_Debug_Call
func (*Log_Debug_Call) RunAndReturn ¶
func (_c *Log_Debug_Call) RunAndReturn(run func(...interface{})) *Log_Debug_Call
type Log_Debugf_Call ¶
Log_Debugf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugf'
func (*Log_Debugf_Call) Return ¶
func (_c *Log_Debugf_Call) Return() *Log_Debugf_Call
func (*Log_Debugf_Call) Run ¶
func (_c *Log_Debugf_Call) Run(run func(format string, args ...interface{})) *Log_Debugf_Call
func (*Log_Debugf_Call) RunAndReturn ¶
func (_c *Log_Debugf_Call) RunAndReturn(run func(string, ...interface{})) *Log_Debugf_Call
type Log_Error_Call ¶
Log_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Log_Error_Call) Return ¶
func (_c *Log_Error_Call) Return() *Log_Error_Call
func (*Log_Error_Call) Run ¶
func (_c *Log_Error_Call) Run(run func(args ...interface{})) *Log_Error_Call
func (*Log_Error_Call) RunAndReturn ¶
func (_c *Log_Error_Call) RunAndReturn(run func(...interface{})) *Log_Error_Call
type Log_Errorf_Call ¶
Log_Errorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorf'
func (*Log_Errorf_Call) Return ¶
func (_c *Log_Errorf_Call) Return() *Log_Errorf_Call
func (*Log_Errorf_Call) Run ¶
func (_c *Log_Errorf_Call) Run(run func(format string, args ...interface{})) *Log_Errorf_Call
func (*Log_Errorf_Call) RunAndReturn ¶
func (_c *Log_Errorf_Call) RunAndReturn(run func(string, ...interface{})) *Log_Errorf_Call
type Log_Expecter ¶
type Log_Expecter struct {
// contains filtered or unexported fields
}
func (*Log_Expecter) Channel ¶
func (_e *Log_Expecter) Channel(channel interface{}) *Log_Channel_Call
Channel is a helper method to define mock.On call
- channel string
func (*Log_Expecter) Code ¶
func (_e *Log_Expecter) Code(code interface{}) *Log_Code_Call
Code is a helper method to define mock.On call
- code string
func (*Log_Expecter) Debug ¶
func (_e *Log_Expecter) Debug(args ...interface{}) *Log_Debug_Call
Debug is a helper method to define mock.On call
- args ...interface{}
func (*Log_Expecter) Debugf ¶
func (_e *Log_Expecter) Debugf(format interface{}, args ...interface{}) *Log_Debugf_Call
Debugf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Log_Expecter) Error ¶
func (_e *Log_Expecter) Error(args ...interface{}) *Log_Error_Call
Error is a helper method to define mock.On call
- args ...interface{}
func (*Log_Expecter) Errorf ¶
func (_e *Log_Expecter) Errorf(format interface{}, args ...interface{}) *Log_Errorf_Call
Errorf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Log_Expecter) Fatal ¶
func (_e *Log_Expecter) Fatal(args ...interface{}) *Log_Fatal_Call
Fatal is a helper method to define mock.On call
- args ...interface{}
func (*Log_Expecter) Fatalf ¶
func (_e *Log_Expecter) Fatalf(format interface{}, args ...interface{}) *Log_Fatalf_Call
Fatalf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Log_Expecter) Hint ¶
func (_e *Log_Expecter) Hint(hint interface{}) *Log_Hint_Call
Hint is a helper method to define mock.On call
- hint string
func (*Log_Expecter) In ¶
func (_e *Log_Expecter) In(domain interface{}) *Log_In_Call
In is a helper method to define mock.On call
- domain string
func (*Log_Expecter) Info ¶
func (_e *Log_Expecter) Info(args ...interface{}) *Log_Info_Call
Info is a helper method to define mock.On call
- args ...interface{}
func (*Log_Expecter) Infof ¶
func (_e *Log_Expecter) Infof(format interface{}, args ...interface{}) *Log_Infof_Call
Infof is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Log_Expecter) Owner ¶
func (_e *Log_Expecter) Owner(owner interface{}) *Log_Owner_Call
Owner is a helper method to define mock.On call
- owner interface{}
func (*Log_Expecter) Panic ¶
func (_e *Log_Expecter) Panic(args ...interface{}) *Log_Panic_Call
Panic is a helper method to define mock.On call
- args ...interface{}
func (*Log_Expecter) Panicf ¶
func (_e *Log_Expecter) Panicf(format interface{}, args ...interface{}) *Log_Panicf_Call
Panicf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Log_Expecter) Request ¶
func (_e *Log_Expecter) Request(req interface{}) *Log_Request_Call
Request is a helper method to define mock.On call
- req http.ContextRequest
func (*Log_Expecter) Response ¶
func (_e *Log_Expecter) Response(res interface{}) *Log_Response_Call
Response is a helper method to define mock.On call
- res http.ContextResponse
func (*Log_Expecter) Stack ¶
func (_e *Log_Expecter) Stack(channels interface{}) *Log_Stack_Call
Stack is a helper method to define mock.On call
- channels []string
func (*Log_Expecter) Tags ¶
func (_e *Log_Expecter) Tags(tags ...interface{}) *Log_Tags_Call
Tags is a helper method to define mock.On call
- tags ...string
func (*Log_Expecter) User ¶
func (_e *Log_Expecter) User(user interface{}) *Log_User_Call
User is a helper method to define mock.On call
- user interface{}
func (*Log_Expecter) Warning ¶
func (_e *Log_Expecter) Warning(args ...interface{}) *Log_Warning_Call
Warning is a helper method to define mock.On call
- args ...interface{}
func (*Log_Expecter) Warningf ¶
func (_e *Log_Expecter) Warningf(format interface{}, args ...interface{}) *Log_Warningf_Call
Warningf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Log_Expecter) With ¶
func (_e *Log_Expecter) With(data interface{}) *Log_With_Call
With is a helper method to define mock.On call
- data map[string]interface{}
func (*Log_Expecter) WithContext ¶
func (_e *Log_Expecter) WithContext(ctx interface{}) *Log_WithContext_Call
WithContext is a helper method to define mock.On call
- ctx context.Context
func (*Log_Expecter) WithTrace ¶
func (_e *Log_Expecter) WithTrace() *Log_WithTrace_Call
WithTrace is a helper method to define mock.On call
type Log_Fatal_Call ¶
Log_Fatal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatal'
func (*Log_Fatal_Call) Return ¶
func (_c *Log_Fatal_Call) Return() *Log_Fatal_Call
func (*Log_Fatal_Call) Run ¶
func (_c *Log_Fatal_Call) Run(run func(args ...interface{})) *Log_Fatal_Call
func (*Log_Fatal_Call) RunAndReturn ¶
func (_c *Log_Fatal_Call) RunAndReturn(run func(...interface{})) *Log_Fatal_Call
type Log_Fatalf_Call ¶
Log_Fatalf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatalf'
func (*Log_Fatalf_Call) Return ¶
func (_c *Log_Fatalf_Call) Return() *Log_Fatalf_Call
func (*Log_Fatalf_Call) Run ¶
func (_c *Log_Fatalf_Call) Run(run func(format string, args ...interface{})) *Log_Fatalf_Call
func (*Log_Fatalf_Call) RunAndReturn ¶
func (_c *Log_Fatalf_Call) RunAndReturn(run func(string, ...interface{})) *Log_Fatalf_Call
type Log_Hint_Call ¶
Log_Hint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hint'
func (*Log_Hint_Call) Return ¶
func (_c *Log_Hint_Call) Return(_a0 log.Writer) *Log_Hint_Call
func (*Log_Hint_Call) Run ¶
func (_c *Log_Hint_Call) Run(run func(hint string)) *Log_Hint_Call
func (*Log_Hint_Call) RunAndReturn ¶
func (_c *Log_Hint_Call) RunAndReturn(run func(string) log.Writer) *Log_Hint_Call
type Log_In_Call ¶
Log_In_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'In'
func (*Log_In_Call) Return ¶
func (_c *Log_In_Call) Return(_a0 log.Writer) *Log_In_Call
func (*Log_In_Call) Run ¶
func (_c *Log_In_Call) Run(run func(domain string)) *Log_In_Call
func (*Log_In_Call) RunAndReturn ¶
func (_c *Log_In_Call) RunAndReturn(run func(string) log.Writer) *Log_In_Call
type Log_Info_Call ¶
Log_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*Log_Info_Call) Return ¶
func (_c *Log_Info_Call) Return() *Log_Info_Call
func (*Log_Info_Call) Run ¶
func (_c *Log_Info_Call) Run(run func(args ...interface{})) *Log_Info_Call
func (*Log_Info_Call) RunAndReturn ¶
func (_c *Log_Info_Call) RunAndReturn(run func(...interface{})) *Log_Info_Call
type Log_Infof_Call ¶
Log_Infof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infof'
func (*Log_Infof_Call) Return ¶
func (_c *Log_Infof_Call) Return() *Log_Infof_Call
func (*Log_Infof_Call) Run ¶
func (_c *Log_Infof_Call) Run(run func(format string, args ...interface{})) *Log_Infof_Call
func (*Log_Infof_Call) RunAndReturn ¶
func (_c *Log_Infof_Call) RunAndReturn(run func(string, ...interface{})) *Log_Infof_Call
type Log_Owner_Call ¶
Log_Owner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Owner'
func (*Log_Owner_Call) Return ¶
func (_c *Log_Owner_Call) Return(_a0 log.Writer) *Log_Owner_Call
func (*Log_Owner_Call) Run ¶
func (_c *Log_Owner_Call) Run(run func(owner interface{})) *Log_Owner_Call
func (*Log_Owner_Call) RunAndReturn ¶
func (_c *Log_Owner_Call) RunAndReturn(run func(interface{}) log.Writer) *Log_Owner_Call
type Log_Panic_Call ¶
Log_Panic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panic'
func (*Log_Panic_Call) Return ¶
func (_c *Log_Panic_Call) Return() *Log_Panic_Call
func (*Log_Panic_Call) Run ¶
func (_c *Log_Panic_Call) Run(run func(args ...interface{})) *Log_Panic_Call
func (*Log_Panic_Call) RunAndReturn ¶
func (_c *Log_Panic_Call) RunAndReturn(run func(...interface{})) *Log_Panic_Call
type Log_Panicf_Call ¶
Log_Panicf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panicf'
func (*Log_Panicf_Call) Return ¶
func (_c *Log_Panicf_Call) Return() *Log_Panicf_Call
func (*Log_Panicf_Call) Run ¶
func (_c *Log_Panicf_Call) Run(run func(format string, args ...interface{})) *Log_Panicf_Call
func (*Log_Panicf_Call) RunAndReturn ¶
func (_c *Log_Panicf_Call) RunAndReturn(run func(string, ...interface{})) *Log_Panicf_Call
type Log_Request_Call ¶
Log_Request_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Request'
func (*Log_Request_Call) Return ¶
func (_c *Log_Request_Call) Return(_a0 log.Writer) *Log_Request_Call
func (*Log_Request_Call) Run ¶
func (_c *Log_Request_Call) Run(run func(req http.ContextRequest)) *Log_Request_Call
func (*Log_Request_Call) RunAndReturn ¶
func (_c *Log_Request_Call) RunAndReturn(run func(http.ContextRequest) log.Writer) *Log_Request_Call
type Log_Response_Call ¶
Log_Response_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Response'
func (*Log_Response_Call) Return ¶
func (_c *Log_Response_Call) Return(_a0 log.Writer) *Log_Response_Call
func (*Log_Response_Call) Run ¶
func (_c *Log_Response_Call) Run(run func(res http.ContextResponse)) *Log_Response_Call
func (*Log_Response_Call) RunAndReturn ¶
func (_c *Log_Response_Call) RunAndReturn(run func(http.ContextResponse) log.Writer) *Log_Response_Call
type Log_Stack_Call ¶
Log_Stack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stack'
func (*Log_Stack_Call) Return ¶
func (_c *Log_Stack_Call) Return(_a0 log.Writer) *Log_Stack_Call
func (*Log_Stack_Call) Run ¶
func (_c *Log_Stack_Call) Run(run func(channels []string)) *Log_Stack_Call
func (*Log_Stack_Call) RunAndReturn ¶
func (_c *Log_Stack_Call) RunAndReturn(run func([]string) log.Writer) *Log_Stack_Call
type Log_Tags_Call ¶
Log_Tags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tags'
func (*Log_Tags_Call) Return ¶
func (_c *Log_Tags_Call) Return(_a0 log.Writer) *Log_Tags_Call
func (*Log_Tags_Call) Run ¶
func (_c *Log_Tags_Call) Run(run func(tags ...string)) *Log_Tags_Call
func (*Log_Tags_Call) RunAndReturn ¶
func (_c *Log_Tags_Call) RunAndReturn(run func(...string) log.Writer) *Log_Tags_Call
type Log_User_Call ¶
Log_User_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'User'
func (*Log_User_Call) Return ¶
func (_c *Log_User_Call) Return(_a0 log.Writer) *Log_User_Call
func (*Log_User_Call) Run ¶
func (_c *Log_User_Call) Run(run func(user interface{})) *Log_User_Call
func (*Log_User_Call) RunAndReturn ¶
func (_c *Log_User_Call) RunAndReturn(run func(interface{}) log.Writer) *Log_User_Call
type Log_Warning_Call ¶
Log_Warning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warning'
func (*Log_Warning_Call) Return ¶
func (_c *Log_Warning_Call) Return() *Log_Warning_Call
func (*Log_Warning_Call) Run ¶
func (_c *Log_Warning_Call) Run(run func(args ...interface{})) *Log_Warning_Call
func (*Log_Warning_Call) RunAndReturn ¶
func (_c *Log_Warning_Call) RunAndReturn(run func(...interface{})) *Log_Warning_Call
type Log_Warningf_Call ¶
Log_Warningf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warningf'
func (*Log_Warningf_Call) Return ¶
func (_c *Log_Warningf_Call) Return() *Log_Warningf_Call
func (*Log_Warningf_Call) Run ¶
func (_c *Log_Warningf_Call) Run(run func(format string, args ...interface{})) *Log_Warningf_Call
func (*Log_Warningf_Call) RunAndReturn ¶
func (_c *Log_Warningf_Call) RunAndReturn(run func(string, ...interface{})) *Log_Warningf_Call
type Log_WithContext_Call ¶
Log_WithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithContext'
func (*Log_WithContext_Call) Return ¶
func (_c *Log_WithContext_Call) Return(_a0 log.Writer) *Log_WithContext_Call
func (*Log_WithContext_Call) Run ¶
func (_c *Log_WithContext_Call) Run(run func(ctx context.Context)) *Log_WithContext_Call
func (*Log_WithContext_Call) RunAndReturn ¶
func (_c *Log_WithContext_Call) RunAndReturn(run func(context.Context) log.Writer) *Log_WithContext_Call
type Log_WithTrace_Call ¶
Log_WithTrace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTrace'
func (*Log_WithTrace_Call) Return ¶
func (_c *Log_WithTrace_Call) Return(_a0 log.Writer) *Log_WithTrace_Call
func (*Log_WithTrace_Call) Run ¶
func (_c *Log_WithTrace_Call) Run(run func()) *Log_WithTrace_Call
func (*Log_WithTrace_Call) RunAndReturn ¶
func (_c *Log_WithTrace_Call) RunAndReturn(run func() log.Writer) *Log_WithTrace_Call
type Log_With_Call ¶
Log_With_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'With'
func (*Log_With_Call) Return ¶
func (_c *Log_With_Call) Return(_a0 log.Writer) *Log_With_Call
func (*Log_With_Call) Run ¶
func (_c *Log_With_Call) Run(run func(data map[string]interface{})) *Log_With_Call
func (*Log_With_Call) RunAndReturn ¶
func (_c *Log_With_Call) RunAndReturn(run func(map[string]interface{}) log.Writer) *Log_With_Call
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func NewLogger ¶
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. The first argument is typically a *testing.T value.
func (*Logger) EXPECT ¶
func (_m *Logger) EXPECT() *Logger_Expecter
type Logger_Expecter ¶
type Logger_Expecter struct {
// contains filtered or unexported fields
}
func (*Logger_Expecter) Handle ¶
func (_e *Logger_Expecter) Handle(channel interface{}) *Logger_Handle_Call
Handle is a helper method to define mock.On call
- channel string
type Logger_Handle_Call ¶
Logger_Handle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handle'
func (*Logger_Handle_Call) Return ¶
func (_c *Logger_Handle_Call) Return(_a0 log.Hook, _a1 error) *Logger_Handle_Call
func (*Logger_Handle_Call) Run ¶
func (_c *Logger_Handle_Call) Run(run func(channel string)) *Logger_Handle_Call
func (*Logger_Handle_Call) RunAndReturn ¶
func (_c *Logger_Handle_Call) RunAndReturn(run func(string) (log.Hook, error)) *Logger_Handle_Call
type Writer ¶
Writer is an autogenerated mock type for the Writer type
func NewWriter ¶
NewWriter creates a new instance of Writer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Writer) Debug ¶
func (_m *Writer) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*Writer) EXPECT ¶
func (_m *Writer) EXPECT() *Writer_Expecter
func (*Writer) Error ¶
func (_m *Writer) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*Writer) Fatal ¶
func (_m *Writer) Fatal(args ...interface{})
Fatal provides a mock function with given fields: args
func (*Writer) Info ¶
func (_m *Writer) Info(args ...interface{})
Info provides a mock function with given fields: args
func (*Writer) Panic ¶
func (_m *Writer) Panic(args ...interface{})
Panic provides a mock function with given fields: args
func (*Writer) Request ¶
func (_m *Writer) Request(req http.ContextRequest) log.Writer
Request provides a mock function with given fields: req
func (*Writer) Response ¶
func (_m *Writer) Response(res http.ContextResponse) log.Writer
Response provides a mock function with given fields: res
func (*Writer) Warning ¶
func (_m *Writer) Warning(args ...interface{})
Warning provides a mock function with given fields: args
type Writer_Code_Call ¶
Writer_Code_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Code'
func (*Writer_Code_Call) Return ¶
func (_c *Writer_Code_Call) Return(_a0 log.Writer) *Writer_Code_Call
func (*Writer_Code_Call) Run ¶
func (_c *Writer_Code_Call) Run(run func(code string)) *Writer_Code_Call
func (*Writer_Code_Call) RunAndReturn ¶
func (_c *Writer_Code_Call) RunAndReturn(run func(string) log.Writer) *Writer_Code_Call
type Writer_Debug_Call ¶
Writer_Debug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debug'
func (*Writer_Debug_Call) Return ¶
func (_c *Writer_Debug_Call) Return() *Writer_Debug_Call
func (*Writer_Debug_Call) Run ¶
func (_c *Writer_Debug_Call) Run(run func(args ...interface{})) *Writer_Debug_Call
func (*Writer_Debug_Call) RunAndReturn ¶
func (_c *Writer_Debug_Call) RunAndReturn(run func(...interface{})) *Writer_Debug_Call
type Writer_Debugf_Call ¶
Writer_Debugf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugf'
func (*Writer_Debugf_Call) Return ¶
func (_c *Writer_Debugf_Call) Return() *Writer_Debugf_Call
func (*Writer_Debugf_Call) Run ¶
func (_c *Writer_Debugf_Call) Run(run func(format string, args ...interface{})) *Writer_Debugf_Call
func (*Writer_Debugf_Call) RunAndReturn ¶
func (_c *Writer_Debugf_Call) RunAndReturn(run func(string, ...interface{})) *Writer_Debugf_Call
type Writer_Error_Call ¶
Writer_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Writer_Error_Call) Return ¶
func (_c *Writer_Error_Call) Return() *Writer_Error_Call
func (*Writer_Error_Call) Run ¶
func (_c *Writer_Error_Call) Run(run func(args ...interface{})) *Writer_Error_Call
func (*Writer_Error_Call) RunAndReturn ¶
func (_c *Writer_Error_Call) RunAndReturn(run func(...interface{})) *Writer_Error_Call
type Writer_Errorf_Call ¶
Writer_Errorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorf'
func (*Writer_Errorf_Call) Return ¶
func (_c *Writer_Errorf_Call) Return() *Writer_Errorf_Call
func (*Writer_Errorf_Call) Run ¶
func (_c *Writer_Errorf_Call) Run(run func(format string, args ...interface{})) *Writer_Errorf_Call
func (*Writer_Errorf_Call) RunAndReturn ¶
func (_c *Writer_Errorf_Call) RunAndReturn(run func(string, ...interface{})) *Writer_Errorf_Call
type Writer_Expecter ¶
type Writer_Expecter struct {
// contains filtered or unexported fields
}
func (*Writer_Expecter) Code ¶
func (_e *Writer_Expecter) Code(code interface{}) *Writer_Code_Call
Code is a helper method to define mock.On call
- code string
func (*Writer_Expecter) Debug ¶
func (_e *Writer_Expecter) Debug(args ...interface{}) *Writer_Debug_Call
Debug is a helper method to define mock.On call
- args ...interface{}
func (*Writer_Expecter) Debugf ¶
func (_e *Writer_Expecter) Debugf(format interface{}, args ...interface{}) *Writer_Debugf_Call
Debugf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Writer_Expecter) Error ¶
func (_e *Writer_Expecter) Error(args ...interface{}) *Writer_Error_Call
Error is a helper method to define mock.On call
- args ...interface{}
func (*Writer_Expecter) Errorf ¶
func (_e *Writer_Expecter) Errorf(format interface{}, args ...interface{}) *Writer_Errorf_Call
Errorf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Writer_Expecter) Fatal ¶
func (_e *Writer_Expecter) Fatal(args ...interface{}) *Writer_Fatal_Call
Fatal is a helper method to define mock.On call
- args ...interface{}
func (*Writer_Expecter) Fatalf ¶
func (_e *Writer_Expecter) Fatalf(format interface{}, args ...interface{}) *Writer_Fatalf_Call
Fatalf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Writer_Expecter) Hint ¶
func (_e *Writer_Expecter) Hint(hint interface{}) *Writer_Hint_Call
Hint is a helper method to define mock.On call
- hint string
func (*Writer_Expecter) In ¶
func (_e *Writer_Expecter) In(domain interface{}) *Writer_In_Call
In is a helper method to define mock.On call
- domain string
func (*Writer_Expecter) Info ¶
func (_e *Writer_Expecter) Info(args ...interface{}) *Writer_Info_Call
Info is a helper method to define mock.On call
- args ...interface{}
func (*Writer_Expecter) Infof ¶
func (_e *Writer_Expecter) Infof(format interface{}, args ...interface{}) *Writer_Infof_Call
Infof is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Writer_Expecter) Owner ¶
func (_e *Writer_Expecter) Owner(owner interface{}) *Writer_Owner_Call
Owner is a helper method to define mock.On call
- owner interface{}
func (*Writer_Expecter) Panic ¶
func (_e *Writer_Expecter) Panic(args ...interface{}) *Writer_Panic_Call
Panic is a helper method to define mock.On call
- args ...interface{}
func (*Writer_Expecter) Panicf ¶
func (_e *Writer_Expecter) Panicf(format interface{}, args ...interface{}) *Writer_Panicf_Call
Panicf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Writer_Expecter) Request ¶
func (_e *Writer_Expecter) Request(req interface{}) *Writer_Request_Call
Request is a helper method to define mock.On call
- req http.ContextRequest
func (*Writer_Expecter) Response ¶
func (_e *Writer_Expecter) Response(res interface{}) *Writer_Response_Call
Response is a helper method to define mock.On call
- res http.ContextResponse
func (*Writer_Expecter) Tags ¶
func (_e *Writer_Expecter) Tags(tags ...interface{}) *Writer_Tags_Call
Tags is a helper method to define mock.On call
- tags ...string
func (*Writer_Expecter) User ¶
func (_e *Writer_Expecter) User(user interface{}) *Writer_User_Call
User is a helper method to define mock.On call
- user interface{}
func (*Writer_Expecter) Warning ¶
func (_e *Writer_Expecter) Warning(args ...interface{}) *Writer_Warning_Call
Warning is a helper method to define mock.On call
- args ...interface{}
func (*Writer_Expecter) Warningf ¶
func (_e *Writer_Expecter) Warningf(format interface{}, args ...interface{}) *Writer_Warningf_Call
Warningf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Writer_Expecter) With ¶
func (_e *Writer_Expecter) With(data interface{}) *Writer_With_Call
With is a helper method to define mock.On call
- data map[string]interface{}
func (*Writer_Expecter) WithTrace ¶
func (_e *Writer_Expecter) WithTrace() *Writer_WithTrace_Call
WithTrace is a helper method to define mock.On call
type Writer_Fatal_Call ¶
Writer_Fatal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatal'
func (*Writer_Fatal_Call) Return ¶
func (_c *Writer_Fatal_Call) Return() *Writer_Fatal_Call
func (*Writer_Fatal_Call) Run ¶
func (_c *Writer_Fatal_Call) Run(run func(args ...interface{})) *Writer_Fatal_Call
func (*Writer_Fatal_Call) RunAndReturn ¶
func (_c *Writer_Fatal_Call) RunAndReturn(run func(...interface{})) *Writer_Fatal_Call
type Writer_Fatalf_Call ¶
Writer_Fatalf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatalf'
func (*Writer_Fatalf_Call) Return ¶
func (_c *Writer_Fatalf_Call) Return() *Writer_Fatalf_Call
func (*Writer_Fatalf_Call) Run ¶
func (_c *Writer_Fatalf_Call) Run(run func(format string, args ...interface{})) *Writer_Fatalf_Call
func (*Writer_Fatalf_Call) RunAndReturn ¶
func (_c *Writer_Fatalf_Call) RunAndReturn(run func(string, ...interface{})) *Writer_Fatalf_Call
type Writer_Hint_Call ¶
Writer_Hint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hint'
func (*Writer_Hint_Call) Return ¶
func (_c *Writer_Hint_Call) Return(_a0 log.Writer) *Writer_Hint_Call
func (*Writer_Hint_Call) Run ¶
func (_c *Writer_Hint_Call) Run(run func(hint string)) *Writer_Hint_Call
func (*Writer_Hint_Call) RunAndReturn ¶
func (_c *Writer_Hint_Call) RunAndReturn(run func(string) log.Writer) *Writer_Hint_Call
type Writer_In_Call ¶
Writer_In_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'In'
func (*Writer_In_Call) Return ¶
func (_c *Writer_In_Call) Return(_a0 log.Writer) *Writer_In_Call
func (*Writer_In_Call) Run ¶
func (_c *Writer_In_Call) Run(run func(domain string)) *Writer_In_Call
func (*Writer_In_Call) RunAndReturn ¶
func (_c *Writer_In_Call) RunAndReturn(run func(string) log.Writer) *Writer_In_Call
type Writer_Info_Call ¶
Writer_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*Writer_Info_Call) Return ¶
func (_c *Writer_Info_Call) Return() *Writer_Info_Call
func (*Writer_Info_Call) Run ¶
func (_c *Writer_Info_Call) Run(run func(args ...interface{})) *Writer_Info_Call
func (*Writer_Info_Call) RunAndReturn ¶
func (_c *Writer_Info_Call) RunAndReturn(run func(...interface{})) *Writer_Info_Call
type Writer_Infof_Call ¶
Writer_Infof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infof'
func (*Writer_Infof_Call) Return ¶
func (_c *Writer_Infof_Call) Return() *Writer_Infof_Call
func (*Writer_Infof_Call) Run ¶
func (_c *Writer_Infof_Call) Run(run func(format string, args ...interface{})) *Writer_Infof_Call
func (*Writer_Infof_Call) RunAndReturn ¶
func (_c *Writer_Infof_Call) RunAndReturn(run func(string, ...interface{})) *Writer_Infof_Call
type Writer_Owner_Call ¶
Writer_Owner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Owner'
func (*Writer_Owner_Call) Return ¶
func (_c *Writer_Owner_Call) Return(_a0 log.Writer) *Writer_Owner_Call
func (*Writer_Owner_Call) Run ¶
func (_c *Writer_Owner_Call) Run(run func(owner interface{})) *Writer_Owner_Call
func (*Writer_Owner_Call) RunAndReturn ¶
func (_c *Writer_Owner_Call) RunAndReturn(run func(interface{}) log.Writer) *Writer_Owner_Call
type Writer_Panic_Call ¶
Writer_Panic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panic'
func (*Writer_Panic_Call) Return ¶
func (_c *Writer_Panic_Call) Return() *Writer_Panic_Call
func (*Writer_Panic_Call) Run ¶
func (_c *Writer_Panic_Call) Run(run func(args ...interface{})) *Writer_Panic_Call
func (*Writer_Panic_Call) RunAndReturn ¶
func (_c *Writer_Panic_Call) RunAndReturn(run func(...interface{})) *Writer_Panic_Call
type Writer_Panicf_Call ¶
Writer_Panicf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panicf'
func (*Writer_Panicf_Call) Return ¶
func (_c *Writer_Panicf_Call) Return() *Writer_Panicf_Call
func (*Writer_Panicf_Call) Run ¶
func (_c *Writer_Panicf_Call) Run(run func(format string, args ...interface{})) *Writer_Panicf_Call
func (*Writer_Panicf_Call) RunAndReturn ¶
func (_c *Writer_Panicf_Call) RunAndReturn(run func(string, ...interface{})) *Writer_Panicf_Call
type Writer_Request_Call ¶
Writer_Request_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Request'
func (*Writer_Request_Call) Return ¶
func (_c *Writer_Request_Call) Return(_a0 log.Writer) *Writer_Request_Call
func (*Writer_Request_Call) Run ¶
func (_c *Writer_Request_Call) Run(run func(req http.ContextRequest)) *Writer_Request_Call
func (*Writer_Request_Call) RunAndReturn ¶
func (_c *Writer_Request_Call) RunAndReturn(run func(http.ContextRequest) log.Writer) *Writer_Request_Call
type Writer_Response_Call ¶
Writer_Response_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Response'
func (*Writer_Response_Call) Return ¶
func (_c *Writer_Response_Call) Return(_a0 log.Writer) *Writer_Response_Call
func (*Writer_Response_Call) Run ¶
func (_c *Writer_Response_Call) Run(run func(res http.ContextResponse)) *Writer_Response_Call
func (*Writer_Response_Call) RunAndReturn ¶
func (_c *Writer_Response_Call) RunAndReturn(run func(http.ContextResponse) log.Writer) *Writer_Response_Call
type Writer_Tags_Call ¶
Writer_Tags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tags'
func (*Writer_Tags_Call) Return ¶
func (_c *Writer_Tags_Call) Return(_a0 log.Writer) *Writer_Tags_Call
func (*Writer_Tags_Call) Run ¶
func (_c *Writer_Tags_Call) Run(run func(tags ...string)) *Writer_Tags_Call
func (*Writer_Tags_Call) RunAndReturn ¶
func (_c *Writer_Tags_Call) RunAndReturn(run func(...string) log.Writer) *Writer_Tags_Call
type Writer_User_Call ¶
Writer_User_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'User'
func (*Writer_User_Call) Return ¶
func (_c *Writer_User_Call) Return(_a0 log.Writer) *Writer_User_Call
func (*Writer_User_Call) Run ¶
func (_c *Writer_User_Call) Run(run func(user interface{})) *Writer_User_Call
func (*Writer_User_Call) RunAndReturn ¶
func (_c *Writer_User_Call) RunAndReturn(run func(interface{}) log.Writer) *Writer_User_Call
type Writer_Warning_Call ¶
Writer_Warning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warning'
func (*Writer_Warning_Call) Return ¶
func (_c *Writer_Warning_Call) Return() *Writer_Warning_Call
func (*Writer_Warning_Call) Run ¶
func (_c *Writer_Warning_Call) Run(run func(args ...interface{})) *Writer_Warning_Call
func (*Writer_Warning_Call) RunAndReturn ¶
func (_c *Writer_Warning_Call) RunAndReturn(run func(...interface{})) *Writer_Warning_Call
type Writer_Warningf_Call ¶
Writer_Warningf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warningf'
func (*Writer_Warningf_Call) Return ¶
func (_c *Writer_Warningf_Call) Return() *Writer_Warningf_Call
func (*Writer_Warningf_Call) Run ¶
func (_c *Writer_Warningf_Call) Run(run func(format string, args ...interface{})) *Writer_Warningf_Call
func (*Writer_Warningf_Call) RunAndReturn ¶
func (_c *Writer_Warningf_Call) RunAndReturn(run func(string, ...interface{})) *Writer_Warningf_Call
type Writer_WithTrace_Call ¶
Writer_WithTrace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTrace'
func (*Writer_WithTrace_Call) Return ¶
func (_c *Writer_WithTrace_Call) Return(_a0 log.Writer) *Writer_WithTrace_Call
func (*Writer_WithTrace_Call) Run ¶
func (_c *Writer_WithTrace_Call) Run(run func()) *Writer_WithTrace_Call
func (*Writer_WithTrace_Call) RunAndReturn ¶
func (_c *Writer_WithTrace_Call) RunAndReturn(run func() log.Writer) *Writer_WithTrace_Call
type Writer_With_Call ¶
Writer_With_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'With'
func (*Writer_With_Call) Return ¶
func (_c *Writer_With_Call) Return(_a0 log.Writer) *Writer_With_Call
func (*Writer_With_Call) Run ¶
func (_c *Writer_With_Call) Run(run func(data map[string]interface{})) *Writer_With_Call
func (*Writer_With_Call) RunAndReturn ¶
func (_c *Writer_With_Call) RunAndReturn(run func(map[string]interface{}) log.Writer) *Writer_With_Call