Documentation ¶
Index ¶
- type Entry
- type Hook
- type Log
- 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) 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) 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
- type Logger
- 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) 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
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.
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.
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) 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 ¶ added in v1.13.1
func (_m *Log) Request(req http.ContextRequest) log.Writer
Request provides a mock function with given fields: req
func (*Log) Response ¶ added in v1.13.1
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
type Logger ¶
Logger is an autogenerated mock type for the Logger type
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) 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 ¶ added in v1.13.1
func (_m *Writer) Request(req http.ContextRequest) log.Writer
Request provides a mock function with given fields: req
func (*Writer) Response ¶ added in v1.13.1
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