Documentation
¶
Index ¶
- type ErrorLogger
- func (e *ErrorLogger) LogError(ctx context.Context, err error, contextData map[string]interface{}, ...)
- func (e *ErrorLogger) LogErrorWithContext(ctx context.Context, err error, message string, ...)
- func (e *ErrorLogger) LogWarning(ctx context.Context, message string, contextData map[string]interface{}, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorLogger ¶
type ErrorLogger struct {
// contains filtered or unexported fields
}
func NewErrorLogger ¶
func NewErrorLogger(errorLogRepo *storage.ErrorLogRepository, logger zerolog.Logger) *ErrorLogger
func (*ErrorLogger) LogErrorWithContext ¶
func (*ErrorLogger) LogWarning ¶
Click to show internal directories.
Click to hide internal directories.