Documentation ¶
Index ¶
- type FakeAuditLogger
- type FakeAuditLoggerProvider
- func (p *FakeAuditLoggerProvider) GetDebugLogsAt(index int) string
- func (p *FakeAuditLoggerProvider) GetErrorLogsAt(index int) string
- func (p *FakeAuditLoggerProvider) ProvideDebugLogger() (*log.Logger, error)
- func (p *FakeAuditLoggerProvider) ProvideErrorLogger() (*log.Logger, error)
- func (p *FakeAuditLoggerProvider) SetDebugLoggerError(err error)
- func (p *FakeAuditLoggerProvider) SetErrorLoggerError(err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuditLogger ¶
type FakeAuditLogger struct { DebugMsgs []string ErrMsgs []string // contains filtered or unexported fields }
func NewFakeAuditLogger ¶
func NewFakeAuditLogger() *FakeAuditLogger
func (*FakeAuditLogger) Debug ¶
func (f *FakeAuditLogger) Debug(msg string)
func (*FakeAuditLogger) Err ¶
func (f *FakeAuditLogger) Err(msg string)
func (*FakeAuditLogger) GetDebugMsgs ¶
func (f *FakeAuditLogger) GetDebugMsgs() []string
func (*FakeAuditLogger) GetErrMsgs ¶
func (f *FakeAuditLogger) GetErrMsgs() []string
func (*FakeAuditLogger) StartLogging ¶
func (f *FakeAuditLogger) StartLogging()
type FakeAuditLoggerProvider ¶
type FakeAuditLoggerProvider struct {
// contains filtered or unexported fields
}
func NewFakeAuditLoggerProvider ¶
func NewFakeAuditLoggerProvider() *FakeAuditLoggerProvider
func (*FakeAuditLoggerProvider) GetDebugLogsAt ¶
func (p *FakeAuditLoggerProvider) GetDebugLogsAt(index int) string
func (*FakeAuditLoggerProvider) GetErrorLogsAt ¶
func (p *FakeAuditLoggerProvider) GetErrorLogsAt(index int) string
func (*FakeAuditLoggerProvider) ProvideDebugLogger ¶
func (p *FakeAuditLoggerProvider) ProvideDebugLogger() (*log.Logger, error)
func (*FakeAuditLoggerProvider) ProvideErrorLogger ¶
func (p *FakeAuditLoggerProvider) ProvideErrorLogger() (*log.Logger, error)
func (*FakeAuditLoggerProvider) SetDebugLoggerError ¶
func (p *FakeAuditLoggerProvider) SetDebugLoggerError(err error)
func (*FakeAuditLoggerProvider) SetErrorLoggerError ¶
func (p *FakeAuditLoggerProvider) SetErrorLoggerError(err error)
Click to show internal directories.
Click to hide internal directories.