Documentation
¶
Index ¶
- type Extractor
- type Field
- func Any(key string, val interface{}) Field
- func Bool(key string, val bool) Field
- func Error(err error) Field
- func Float32(key string, val float32) Field
- func Float64(key string, val float64) Field
- func Int(key string, val int) Field
- func Int16(key string, val int16) Field
- func Int32(key string, val int32) Field
- func Int64(key string, val int64) Field
- func Int8(key string, val int8) Field
- func Str(key string, val string) Field
- func Stringer(key string, val fmt.Stringer) Field
- func Strings(key string, val []string) Field
- func Uint(key string, val uint) Field
- func Uint16(key string, val uint16) Field
- func Uint32(key string, val uint32) Field
- func Uint64(key string, val uint64) Field
- func Uint8(key string, val uint8) Field
- type FieldContainer
- type FieldExtractor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor interface {
Extract(extractor FieldExtractor)
}
type FieldContainer ¶
type FieldContainer interface { Bool(key string, value bool) FieldContainer Int(key string, value int) FieldContainer Int8(key string, value int8) FieldContainer Int16(key string, value int16) FieldContainer Int32(key string, value int32) FieldContainer Int64(key string, value int64) FieldContainer Uint(key string, value uint) FieldContainer Uint8(key string, value uint8) FieldContainer Uint16(key string, value uint16) FieldContainer Uint32(key string, value uint32) FieldContainer Uint64(key string, value uint64) FieldContainer Float32(key string, value float32) FieldContainer Float64(key string, value float64) FieldContainer Str(key string, value string) FieldContainer Strings(key string, values []string) FieldContainer Stringer(key string, value fmt.Stringer) FieldContainer Any(key string, value interface{}) FieldContainer Extract(out FieldExtractor) }
type FieldExtractor ¶
type FieldExtractor interface { Bool(key string, value bool) Int(key string, value int) Int8(key string, value int8) Int16(key string, value int16) Int32(key string, value int32) Int64(key string, value int64) Uint(key string, value uint) Uint8(key string, value uint8) Uint16(key string, value uint16) Uint32(key string, value uint32) Uint64(key string, value uint64) Float32(key string, value float32) Float64(key string, value float64) Str(key string, value string) Strings(key string, values []string) Any(key string, value interface{}) }
Click to show internal directories.
Click to hide internal directories.