Documentation ¶
Index ¶
- Constants
- func AddFields(err error, fields ...zap.Field) error
- func LogError(logger zap.Logger, err error)
- func New(msg string) error
- func NewDetails(msg string, details error) error
- func NewEx(logLevel zap.Level, msg string, fields ...zap.Field) error
- func NewFields(msg string, fields ...zap.Field) error
- func NewLevel(logLevel zap.Level, msg string) error
- type ErrorEx
- type LogLevel
Constants ¶
View Source
const ErrFailedGetCaller = "Failed to get caller"
ErrFailedGetCaller - error get caller
Variables ¶
This section is empty.
Functions ¶
func NewDetails ¶
NewDetails - create error with caller and details message
Types ¶
Click to show internal directories.
Click to hide internal directories.