Documentation ¶
Index ¶
- type Entry
- type Hook
- type Log
- 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) Info(args ...interface{})
- func (_m *Log) Infof(format string, args ...interface{})
- func (_m *Log) Panic(args ...interface{})
- func (_m *Log) Panicf(format string, args ...interface{})
- func (_m *Log) Warning(args ...interface{})
- func (_m *Log) Warningf(format string, args ...interface{})
- func (_m *Log) WithContext(ctx context.Context) log.Writer
- type Logger
- type NewEntryT
- type NewHookT
- type NewLogT
- type NewLoggerT
- type NewWriterT
- type 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) Info(args ...interface{})
- func (_m *Writer) Infof(format string, args ...interface{})
- func (_m *Writer) Panic(args ...interface{})
- func (_m *Writer) Panicf(format string, args ...interface{})
- func (_m *Writer) Warning(args ...interface{})
- func (_m *Writer) Warningf(format string, args ...interface{})
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.
func (*Entry) GetMessage ¶
GetMessage provides a mock function with given fields:
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.
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.
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) 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
func NewLogger ¶
func NewLogger(t NewLoggerT) *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.
type NewLoggerT ¶
type NewWriterT ¶
type Writer ¶
Writer is an autogenerated mock type for the Writer type
func NewWriter ¶
func NewWriter(t NewWriterT) *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.
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