log

package
v1.16.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	mock.Mock
}

Entry is an autogenerated mock type for the Entry type

func NewEntry

func NewEntry(t interface {
	mock.TestingT
	Cleanup(func())
}) *Entry

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) Code added in v1.15.0

func (_m *Entry) Code() string

Code provides a mock function with no fields

func (*Entry) Context

func (_m *Entry) Context() context.Context

Context provides a mock function with no fields

func (*Entry) Data added in v1.14.9

func (_m *Entry) Data() log.Data

Data provides a mock function with no fields

func (*Entry) Domain added in v1.15.0

func (_m *Entry) Domain() string

Domain provides a mock function with no fields

func (*Entry) EXPECT

func (_m *Entry) EXPECT() *Entry_Expecter

func (*Entry) Hint added in v1.15.0

func (_m *Entry) Hint() string

Hint provides a mock function with no fields

func (*Entry) Level

func (_m *Entry) Level() log.Level

Level provides a mock function with no fields

func (*Entry) Message

func (_m *Entry) Message() string

Message provides a mock function with no fields

func (*Entry) Owner added in v1.15.0

func (_m *Entry) Owner() interface{}

Owner provides a mock function with no fields

func (*Entry) Request added in v1.15.0

func (_m *Entry) Request() map[string]interface{}

Request provides a mock function with no fields

func (*Entry) Response added in v1.15.0

func (_m *Entry) Response() map[string]interface{}

Response provides a mock function with no fields

func (*Entry) Tags added in v1.15.0

func (_m *Entry) Tags() []string

Tags provides a mock function with no fields

func (*Entry) Time

func (_m *Entry) Time() time.Time

Time provides a mock function with no fields

func (*Entry) Trace added in v1.15.0

func (_m *Entry) Trace() map[string]interface{}

Trace provides a mock function with no fields

func (*Entry) User added in v1.15.0

func (_m *Entry) User() interface{}

User provides a mock function with no fields

func (*Entry) With added in v1.15.0

func (_m *Entry) With() map[string]interface{}

With provides a mock function with no fields

type Entry_Code_Call added in v1.15.0

type Entry_Code_Call struct {
	*mock.Call
}

Entry_Code_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Code'

func (*Entry_Code_Call) Return added in v1.15.0

func (_c *Entry_Code_Call) Return(_a0 string) *Entry_Code_Call

func (*Entry_Code_Call) Run added in v1.15.0

func (_c *Entry_Code_Call) Run(run func()) *Entry_Code_Call

func (*Entry_Code_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Code_Call) RunAndReturn(run func() string) *Entry_Code_Call

type Entry_Context_Call

type Entry_Context_Call struct {
	*mock.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 (*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_Data_Call added in v1.14.9

type Entry_Data_Call struct {
	*mock.Call
}

Entry_Data_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Data'

func (*Entry_Data_Call) Return added in v1.14.9

func (_c *Entry_Data_Call) Return(_a0 log.Data) *Entry_Data_Call

func (*Entry_Data_Call) Run added in v1.14.9

func (_c *Entry_Data_Call) Run(run func()) *Entry_Data_Call

func (*Entry_Data_Call) RunAndReturn added in v1.14.9

func (_c *Entry_Data_Call) RunAndReturn(run func() log.Data) *Entry_Data_Call

type Entry_Domain_Call added in v1.15.0

type Entry_Domain_Call struct {
	*mock.Call
}

Entry_Domain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Domain'

func (*Entry_Domain_Call) Return added in v1.15.0

func (_c *Entry_Domain_Call) Return(_a0 string) *Entry_Domain_Call

func (*Entry_Domain_Call) Run added in v1.15.0

func (_c *Entry_Domain_Call) Run(run func()) *Entry_Domain_Call

func (*Entry_Domain_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Domain_Call) RunAndReturn(run func() string) *Entry_Domain_Call

type Entry_Expecter

type Entry_Expecter struct {
	// contains filtered or unexported fields
}

func (*Entry_Expecter) Code added in v1.15.0

func (_e *Entry_Expecter) Code() *Entry_Code_Call

Code is a helper method to define mock.On call

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) Data added in v1.14.9

func (_e *Entry_Expecter) Data() *Entry_Data_Call

Data is a helper method to define mock.On call

func (*Entry_Expecter) Domain added in v1.15.0

func (_e *Entry_Expecter) Domain() *Entry_Domain_Call

Domain is a helper method to define mock.On call

func (*Entry_Expecter) Hint added in v1.15.0

func (_e *Entry_Expecter) Hint() *Entry_Hint_Call

Hint 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) Owner added in v1.15.0

func (_e *Entry_Expecter) Owner() *Entry_Owner_Call

Owner is a helper method to define mock.On call

func (*Entry_Expecter) Request added in v1.15.0

func (_e *Entry_Expecter) Request() *Entry_Request_Call

Request is a helper method to define mock.On call

func (*Entry_Expecter) Response added in v1.15.0

func (_e *Entry_Expecter) Response() *Entry_Response_Call

Response is a helper method to define mock.On call

func (*Entry_Expecter) Tags added in v1.15.0

func (_e *Entry_Expecter) Tags() *Entry_Tags_Call

Tags 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

func (*Entry_Expecter) Trace added in v1.15.0

func (_e *Entry_Expecter) Trace() *Entry_Trace_Call

Trace is a helper method to define mock.On call

func (*Entry_Expecter) User added in v1.15.0

func (_e *Entry_Expecter) User() *Entry_User_Call

User is a helper method to define mock.On call

func (*Entry_Expecter) With added in v1.15.0

func (_e *Entry_Expecter) With() *Entry_With_Call

With is a helper method to define mock.On call

type Entry_Hint_Call added in v1.15.0

type Entry_Hint_Call struct {
	*mock.Call
}

Entry_Hint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hint'

func (*Entry_Hint_Call) Return added in v1.15.0

func (_c *Entry_Hint_Call) Return(_a0 string) *Entry_Hint_Call

func (*Entry_Hint_Call) Run added in v1.15.0

func (_c *Entry_Hint_Call) Run(run func()) *Entry_Hint_Call

func (*Entry_Hint_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Hint_Call) RunAndReturn(run func() string) *Entry_Hint_Call

type Entry_Level_Call

type Entry_Level_Call struct {
	*mock.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

type Entry_Message_Call struct {
	*mock.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_Owner_Call added in v1.15.0

type Entry_Owner_Call struct {
	*mock.Call
}

Entry_Owner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Owner'

func (*Entry_Owner_Call) Return added in v1.15.0

func (_c *Entry_Owner_Call) Return(_a0 interface{}) *Entry_Owner_Call

func (*Entry_Owner_Call) Run added in v1.15.0

func (_c *Entry_Owner_Call) Run(run func()) *Entry_Owner_Call

func (*Entry_Owner_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Owner_Call) RunAndReturn(run func() interface{}) *Entry_Owner_Call

type Entry_Request_Call added in v1.15.0

type Entry_Request_Call struct {
	*mock.Call
}

Entry_Request_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Request'

func (*Entry_Request_Call) Return added in v1.15.0

func (_c *Entry_Request_Call) Return(_a0 map[string]interface{}) *Entry_Request_Call

func (*Entry_Request_Call) Run added in v1.15.0

func (_c *Entry_Request_Call) Run(run func()) *Entry_Request_Call

func (*Entry_Request_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Request_Call) RunAndReturn(run func() map[string]interface{}) *Entry_Request_Call

type Entry_Response_Call added in v1.15.0

type Entry_Response_Call struct {
	*mock.Call
}

Entry_Response_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Response'

func (*Entry_Response_Call) Return added in v1.15.0

func (_c *Entry_Response_Call) Return(_a0 map[string]interface{}) *Entry_Response_Call

func (*Entry_Response_Call) Run added in v1.15.0

func (_c *Entry_Response_Call) Run(run func()) *Entry_Response_Call

func (*Entry_Response_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Response_Call) RunAndReturn(run func() map[string]interface{}) *Entry_Response_Call

type Entry_Tags_Call added in v1.15.0

type Entry_Tags_Call struct {
	*mock.Call
}

Entry_Tags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tags'

func (*Entry_Tags_Call) Return added in v1.15.0

func (_c *Entry_Tags_Call) Return(_a0 []string) *Entry_Tags_Call

func (*Entry_Tags_Call) Run added in v1.15.0

func (_c *Entry_Tags_Call) Run(run func()) *Entry_Tags_Call

func (*Entry_Tags_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Tags_Call) RunAndReturn(run func() []string) *Entry_Tags_Call

type Entry_Time_Call

type Entry_Time_Call struct {
	*mock.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 Entry_Trace_Call added in v1.15.0

type Entry_Trace_Call struct {
	*mock.Call
}

Entry_Trace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trace'

func (*Entry_Trace_Call) Return added in v1.15.0

func (_c *Entry_Trace_Call) Return(_a0 map[string]interface{}) *Entry_Trace_Call

func (*Entry_Trace_Call) Run added in v1.15.0

func (_c *Entry_Trace_Call) Run(run func()) *Entry_Trace_Call

func (*Entry_Trace_Call) RunAndReturn added in v1.15.0

func (_c *Entry_Trace_Call) RunAndReturn(run func() map[string]interface{}) *Entry_Trace_Call

type Entry_User_Call added in v1.15.0

type Entry_User_Call struct {
	*mock.Call
}

Entry_User_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'User'

func (*Entry_User_Call) Return added in v1.15.0

func (_c *Entry_User_Call) Return(_a0 interface{}) *Entry_User_Call

func (*Entry_User_Call) Run added in v1.15.0

func (_c *Entry_User_Call) Run(run func()) *Entry_User_Call

func (*Entry_User_Call) RunAndReturn added in v1.15.0

func (_c *Entry_User_Call) RunAndReturn(run func() interface{}) *Entry_User_Call

type Entry_With_Call added in v1.15.0

type Entry_With_Call struct {
	*mock.Call
}

Entry_With_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'With'

func (*Entry_With_Call) Return added in v1.15.0

func (_c *Entry_With_Call) Return(_a0 map[string]interface{}) *Entry_With_Call

func (*Entry_With_Call) Run added in v1.15.0

func (_c *Entry_With_Call) Run(run func()) *Entry_With_Call

func (*Entry_With_Call) RunAndReturn added in v1.15.0

func (_c *Entry_With_Call) RunAndReturn(run func() map[string]interface{}) *Entry_With_Call

type Hook

type Hook struct {
	mock.Mock
}

Hook is an autogenerated mock type for the Hook type

func NewHook

func NewHook(t interface {
	mock.TestingT
	Cleanup(func())
}) *Hook

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

func (*Hook) Fire

func (_m *Hook) Fire(_a0 log.Entry) error

Fire provides a mock function with given fields: _a0

func (*Hook) Levels

func (_m *Hook) Levels() []log.Level

Levels provides a mock function with no fields

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

type Hook_Fire_Call struct {
	*mock.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

type Hook_Levels_Call struct {
	*mock.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

type Log struct {
	mock.Mock
}

Log is an autogenerated mock type for the Log type

func NewLog

func NewLog(t interface {
	mock.TestingT
	Cleanup(func())
}) *Log

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) Channel

func (_m *Log) Channel(channel string) log.Writer

Channel provides a mock function with given fields: channel

func (*Log) Code

func (_m *Log) Code(code string) log.Writer

Code provides a mock function with given fields: code

func (*Log) Debug

func (_m *Log) Debug(args ...interface{})

Debug provides a mock function with given fields: args

func (*Log) Debugf

func (_m *Log) Debugf(format string, args ...interface{})

Debugf provides a mock function with given fields: format, 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) Errorf

func (_m *Log) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*Log) Fatal

func (_m *Log) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*Log) Fatalf

func (_m *Log) Fatalf(format string, args ...interface{})

Fatalf provides a mock function with given fields: format, args

func (*Log) Hint

func (_m *Log) Hint(hint string) log.Writer

Hint provides a mock function with given fields: hint

func (*Log) In

func (_m *Log) In(domain string) log.Writer

In provides a mock function with given fields: domain

func (*Log) Info

func (_m *Log) Info(args ...interface{})

Info provides a mock function with given fields: args

func (*Log) Infof

func (_m *Log) Infof(format string, args ...interface{})

Infof provides a mock function with given fields: format, args

func (*Log) Owner

func (_m *Log) Owner(owner interface{}) log.Writer

Owner provides a mock function with given fields: owner

func (*Log) Panic

func (_m *Log) Panic(args ...interface{})

Panic provides a mock function with given fields: args

func (*Log) Panicf

func (_m *Log) Panicf(format string, args ...interface{})

Panicf provides a mock function with given fields: format, 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) Stack

func (_m *Log) Stack(channels []string) log.Writer

Stack provides a mock function with given fields: channels

func (*Log) Tags

func (_m *Log) Tags(tags ...string) log.Writer

Tags provides a mock function with given fields: tags

func (*Log) User

func (_m *Log) User(user interface{}) log.Writer

User provides a mock function with given fields: user

func (*Log) Warning

func (_m *Log) Warning(args ...interface{})

Warning provides a mock function with given fields: args

func (*Log) Warningf

func (_m *Log) Warningf(format string, args ...interface{})

Warningf provides a mock function with given fields: format, args

func (*Log) With

func (_m *Log) With(data map[string]interface{}) log.Writer

With provides a mock function with given fields: data

func (*Log) WithContext

func (_m *Log) WithContext(ctx context.Context) log.Writer

WithContext provides a mock function with given fields: ctx

func (*Log) WithTrace

func (_m *Log) WithTrace() log.Writer

WithTrace provides a mock function with no fields

type Log_Channel_Call

type Log_Channel_Call struct {
	*mock.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

type Log_Code_Call struct {
	*mock.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

type Log_Debug_Call struct {
	*mock.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

type Log_Debugf_Call struct {
	*mock.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

type Log_Error_Call struct {
	*mock.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

type Log_Errorf_Call struct {
	*mock.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

type Log_Fatal_Call struct {
	*mock.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

type Log_Fatalf_Call struct {
	*mock.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

type Log_Hint_Call struct {
	*mock.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

type Log_In_Call struct {
	*mock.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

type Log_Info_Call struct {
	*mock.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

type Log_Infof_Call struct {
	*mock.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

type Log_Owner_Call struct {
	*mock.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

type Log_Panic_Call struct {
	*mock.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

type Log_Panicf_Call struct {
	*mock.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

type Log_Request_Call struct {
	*mock.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

type Log_Response_Call struct {
	*mock.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

type Log_Stack_Call struct {
	*mock.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

type Log_Tags_Call struct {
	*mock.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

type Log_User_Call struct {
	*mock.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

type Log_Warning_Call struct {
	*mock.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

type Log_Warningf_Call struct {
	*mock.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

type Log_WithContext_Call struct {
	*mock.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 (*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

type Log_WithTrace_Call struct {
	*mock.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 (*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

type Log_With_Call struct {
	*mock.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

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func NewLogger

func NewLogger(t interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*Logger) EXPECT

func (_m *Logger) EXPECT() *Logger_Expecter

func (*Logger) Handle

func (_m *Logger) Handle(channel string) (log.Hook, error)

Handle provides a mock function with given fields: channel

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

type Logger_Handle_Call struct {
	*mock.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

type Writer struct {
	mock.Mock
}

Writer is an autogenerated mock type for the Writer type

func NewWriter

func NewWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Writer

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) Code

func (_m *Writer) Code(code string) log.Writer

Code provides a mock function with given fields: code

func (*Writer) Debug

func (_m *Writer) Debug(args ...interface{})

Debug provides a mock function with given fields: args

func (*Writer) Debugf

func (_m *Writer) Debugf(format string, args ...interface{})

Debugf provides a mock function with given fields: format, 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) Errorf

func (_m *Writer) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*Writer) Fatal

func (_m *Writer) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*Writer) Fatalf

func (_m *Writer) Fatalf(format string, args ...interface{})

Fatalf provides a mock function with given fields: format, args

func (*Writer) Hint

func (_m *Writer) Hint(hint string) log.Writer

Hint provides a mock function with given fields: hint

func (*Writer) In

func (_m *Writer) In(domain string) log.Writer

In provides a mock function with given fields: domain

func (*Writer) Info

func (_m *Writer) Info(args ...interface{})

Info provides a mock function with given fields: args

func (*Writer) Infof

func (_m *Writer) Infof(format string, args ...interface{})

Infof provides a mock function with given fields: format, args

func (*Writer) Owner

func (_m *Writer) Owner(owner interface{}) log.Writer

Owner provides a mock function with given fields: owner

func (*Writer) Panic

func (_m *Writer) Panic(args ...interface{})

Panic provides a mock function with given fields: args

func (*Writer) Panicf

func (_m *Writer) Panicf(format string, args ...interface{})

Panicf provides a mock function with given fields: format, 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) Tags

func (_m *Writer) Tags(tags ...string) log.Writer

Tags provides a mock function with given fields: tags

func (*Writer) User

func (_m *Writer) User(user interface{}) log.Writer

User provides a mock function with given fields: user

func (*Writer) Warning

func (_m *Writer) Warning(args ...interface{})

Warning provides a mock function with given fields: args

func (*Writer) Warningf

func (_m *Writer) Warningf(format string, args ...interface{})

Warningf provides a mock function with given fields: format, args

func (*Writer) With

func (_m *Writer) With(data map[string]interface{}) log.Writer

With provides a mock function with given fields: data

func (*Writer) WithTrace

func (_m *Writer) WithTrace() log.Writer

WithTrace provides a mock function with no fields

type Writer_Code_Call

type Writer_Code_Call struct {
	*mock.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

type Writer_Debug_Call struct {
	*mock.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

type Writer_Debugf_Call struct {
	*mock.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

type Writer_Error_Call struct {
	*mock.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

type Writer_Errorf_Call struct {
	*mock.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

type Writer_Fatal_Call struct {
	*mock.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

type Writer_Fatalf_Call struct {
	*mock.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

type Writer_Hint_Call struct {
	*mock.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

type Writer_In_Call struct {
	*mock.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

type Writer_Info_Call struct {
	*mock.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

type Writer_Infof_Call struct {
	*mock.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

type Writer_Owner_Call struct {
	*mock.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

type Writer_Panic_Call struct {
	*mock.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

type Writer_Panicf_Call struct {
	*mock.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

type Writer_Request_Call struct {
	*mock.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 (*Writer_Request_Call) Run

func (*Writer_Request_Call) RunAndReturn

type Writer_Response_Call

type Writer_Response_Call struct {
	*mock.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 (*Writer_Response_Call) Run

func (*Writer_Response_Call) RunAndReturn

type Writer_Tags_Call

type Writer_Tags_Call struct {
	*mock.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

type Writer_User_Call struct {
	*mock.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

type Writer_Warning_Call struct {
	*mock.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 (*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

type Writer_Warningf_Call struct {
	*mock.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 (*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

type Writer_WithTrace_Call struct {
	*mock.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 (*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

type Writer_With_Call struct {
	*mock.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL