Documentation
¶
Overview ¶
Package z provides an API for structured logging fields by wrapping zap.Field. It also supports internal structured errors.
Index ¶
- type Field
- func Any(key string, val interface{}) Field
- func Bool(key string, val bool) Field
- func Err(err error) Field
- func F64(key string, val float64) Field
- func I64(key string, val int64) Field
- func Int(key string, val int) Field
- func Str(key, val string) Field
- func U64(key string, val uint64) Field
- func Uint(key string, val uint) Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
Field wraps one or more zap fields.
Click to show internal directories.
Click to hide internal directories.