Documentation ¶
Index ¶
- func ErrorLevel() zapcore.Level
- func GetObservedLogs() *observer.ObservedLogs
- type Zaplog
- func (z *Zaplog) DebugErr(e error, fields ...zapcore.Field) *Zaplog
- func (z *Zaplog) ErrorErr(e error, fields ...zapcore.Field) *Zaplog
- func (z *Zaplog) InfoErr(e error, fields ...zapcore.Field) *Zaplog
- func (z *Zaplog) PanicErr(e error, fields ...zapcore.Field) *Zaplog
- func (z *Zaplog) WarnErr(e error, fields ...zapcore.Field) *Zaplog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObservedLogs ¶
func GetObservedLogs() *observer.ObservedLogs
GetObservedLogs returns observed logs for testing purposes
Types ¶
type Zaplog ¶
func (*Zaplog) DebugErr ¶
DebugErr is invoking Zap Logger function with error message and fields and log level Debug
func (*Zaplog) ErrorErr ¶
ErrorErr is invoking Zap Logger function with error message and fields and log level Error
func (*Zaplog) InfoErr ¶
InfoErr is invoking Zap Logger function with error message and fields and log level Info
Click to show internal directories.
Click to hide internal directories.