Documentation ¶
Index ¶
- func ColorPretty(args ...interface{})
- func ErrField(err error, fields ...zap.Field) []zap.Field
- func ErrRecord(log *zap.Logger, err error, fieldHandle ...func() Fields) bool
- func FnStack(fn interface{}) zap.Field
- func IfDebug(log *zap.Logger, fn func(log *zap.Logger))
- func IfError(log *zap.Logger, fn func(log *zap.Logger))
- func ListField(name string, args ...interface{}) zap.Field
- func LogOrErr(log *zap.Logger, msg string, fn func() result.Error, fields ...zap.Field)
- func Names(names ...string) string
- func OkOrFailed(log *zap.Logger, msg string, fn func() result.Error, fields ...zap.Field)
- func Pretty(a ...interface{})
- type Fields
- type Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorPretty ¶
func ColorPretty(args ...interface{})
func OkOrFailed ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.