Documentation ¶
Index ¶
- Constants
- func D(msg string, fields ...Field)
- func E(msg string, fields ...Field)
- func F(msg string, fields ...Field)
- func I(msg string, fields ...Field)
- func P(msg string, fields ...Field)
- func Setup(appName string, level Level)
- func W(msg string, fields ...Field)
- type Field
- func Bool(key string, b bool) Field
- func Bools(key string, b []bool) Field
- func Bytes(key string, val []byte) Field
- func Caller() Field
- func Duration(key string, d time.Duration) Field
- func Durations(key string, d []time.Duration) Field
- func Err(err error) Field
- func Error(key string, err error) Field
- func Errors(key string, errs []error) Field
- func Float32(key string, f float32) Field
- func Float64(key string, f float64) Field
- func Floats32(key string, f []float32) Field
- func Floats64(key string, f []float64) Field
- func Hex(key string, val []byte) Field
- func IP(key string, ip net.IP) Field
- func IPNet(key string, pfx net.IPNet) Field
- func Int(key string, i int) Field
- func Int16(key string, i int16) Field
- func Int32(key string, i int32) Field
- func Int64(key string, i int64) Field
- func Int8(key string, i int8) Field
- func Interface(key string, i interface{}) Field
- func Ints(key string, i []int) Field
- func Ints16(key string, i []int16) Field
- func Ints32(key string, i []int32) Field
- func Ints64(key string, i []int64) Field
- func Ints8(key string, i []int8) Field
- func MACAddr(key string, ha net.HardwareAddr) Field
- func RawJSON(key string, b []byte) Field
- func Stack() Field
- func String(key, val string) Field
- func Strings(key string, vals []string) Field
- func Time(key string, t time.Time) Field
- func TimeDiff(key string, t time.Time, start time.Time) Field
- func Times(key string, t []time.Time) Field
- func Timestamp() Field
- func Uint(key string, i uint) Field
- func Uint16(key string, i uint16) Field
- func Uint32(key string, i uint32) Field
- func Uint64(key string, i uint64) Field
- func Uint8(key string, i uint8) Field
- func Uints(key string, i []uint) Field
- func Uints16(key string, i []uint16) Field
- func Uints32(key string, i []uint32) Field
- func Uints64(key string, i []uint64) Field
- func Uints8(key string, i []uint8) Field
- type Level
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.