Documentation ¶
Index ¶
- Variables
- func NewDeserializerError(function string, message []byte, err error) error
- func NewResponseError(code int, message string, stackTrace string, exceptions []string) error
- type DefaultLogger
- func (l *DefaultLogger) Debug(msg string, fields ...interface{})
- func (l *DefaultLogger) Error(msg string, fields ...interface{})
- func (l *DefaultLogger) Info(msg string, fields ...interface{})
- func (l *DefaultLogger) Warn(msg string, fields ...interface{})
- func (l *DefaultLogger) WithContext(ctx context.Context) ilog.ILogger
- type DeserializerError
- type ResponseError
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger ilog.ILogger = NewDefaultLogger(nil)
Functions ¶
func NewDeserializerError ¶
Types ¶
type DefaultLogger ¶
func NewDefaultLogger ¶
func NewDefaultLogger(zapLogger *zap.Logger) *DefaultLogger
func (*DefaultLogger) Debug ¶
func (l *DefaultLogger) Debug(msg string, fields ...interface{})
func (*DefaultLogger) Error ¶
func (l *DefaultLogger) Error(msg string, fields ...interface{})
func (*DefaultLogger) Info ¶
func (l *DefaultLogger) Info(msg string, fields ...interface{})
func (*DefaultLogger) Warn ¶
func (l *DefaultLogger) Warn(msg string, fields ...interface{})
func (*DefaultLogger) WithContext ¶
func (l *DefaultLogger) WithContext(ctx context.Context) ilog.ILogger
type DeserializerError ¶
type DeserializerError struct {
// contains filtered or unexported fields
}
func (*DeserializerError) Error ¶
func (d *DeserializerError) Error() string
type ResponseError ¶
type ResponseError struct {
// contains filtered or unexported fields
}
func (*ResponseError) Error ¶
func (r *ResponseError) Error() string
Click to show internal directories.
Click to hide internal directories.