Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unsafe ¶
func Unsafe(ie InfoErrorLogger) *ignoringInfoError
Types ¶
type ErrorLogger ¶
type ErrorLogger interface {
Error(...interface{}) error
}
type InfoErrorLogger ¶
type InfoErrorLogger interface { InfoLogger ErrorLogger }
type InfoLogger ¶
type InfoLogger interface {
Info(...interface{}) error
}
type MultiInfoError ¶
type MultiInfoError struct {
// contains filtered or unexported fields
}
func Multi ¶
func Multi(loggers ...InfoErrorLogger) *MultiInfoError
func (*MultiInfoError) Error ¶
func (l *MultiInfoError) Error(args ...interface{}) error
func (*MultiInfoError) Info ¶
func (l *MultiInfoError) Info(args ...interface{}) error
type PropagateInfoError ¶
type PropagateInfoError struct {
// contains filtered or unexported fields
}
func NewPropagateInfoError ¶
func NewPropagateInfoError(main InfoErrorLogger, insurers ...ErrorLogger) *PropagateInfoError
func (*PropagateInfoError) Error ¶
func (l *PropagateInfoError) Error(args ...interface{}) error
func (*PropagateInfoError) Info ¶
func (l *PropagateInfoError) Info(args ...interface{}) error
type UnsafeErrorLogger ¶
type UnsafeErrorLogger interface {
Error(...interface{})
}
type UnsafeInfoErrorLogger ¶
type UnsafeInfoErrorLogger interface { UnsafeInfoLogger UnsafeErrorLogger }
type UnsafeInfoLogger ¶
type UnsafeInfoLogger interface {
Info(...interface{})
}
Click to show internal directories.
Click to hide internal directories.