Documentation
¶
Index ¶
- type MockLog
- func (m *MockLog) Debug(format string, v ...any)
- func (m *MockLog) Debugln(message string)
- func (m *MockLog) Error(format string, v ...any)
- func (m *MockLog) Errorln(message string)
- func (m *MockLog) Fatal(format string, v ...any)
- func (m *MockLog) Fatalln(message string)
- func (m *MockLog) Info(format string, v ...any)
- func (m *MockLog) Infoln(message string)
- func (m *MockLog) Trace(format string, v ...any)
- func (m *MockLog) Traceln(message string)
- func (m *MockLog) Warn(format string, v ...any)
- func (m *MockLog) Warnln(message string)
- func (m *MockLog) With(args ...any) log.Modular
- func (m *MockLog) WithFields(fields map[string]string) log.Modular
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLog ¶
type MockLog struct { Traces []string Debugs []string Infos []string Warns []string Errors []string Fields []map[string]string MappingFields []any }
MockLog is a mock log.Modular implementation.
Click to show internal directories.
Click to hide internal directories.