Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) SetCustomLogger ¶
type LoggerInterface ¶
type MockLogger ¶
type MockLogger struct {
Messages []string
}
func NewMockLogger ¶
func NewMockLogger() *MockLogger
func (*MockLogger) CloseFile ¶
func (m *MockLogger) CloseFile()
func (*MockLogger) Debug ¶
func (m *MockLogger) Debug(msg string)
func (*MockLogger) Error ¶
func (m *MockLogger) Error(msg string)
func (*MockLogger) Info ¶
func (m *MockLogger) Info(msg string)
func (*MockLogger) SetLevel ¶
func (m *MockLogger) SetLevel(level slog.Level)
func (*MockLogger) Warn ¶
func (m *MockLogger) Warn(msg string)
Click to show internal directories.
Click to hide internal directories.