Documentation
¶
Index ¶
- func AnErr(key string, err error) *zerolog.Event
- func Array(key string, arr zerolog.LogArrayMarshaler) *zerolog.Event
- func Bool(key string, b bool) *zerolog.Event
- func Bools(key string, b []bool) *zerolog.Event
- func Bytes(key string, val []byte) *zerolog.Event
- func Dict(key string, dict *zerolog.Event) *zerolog.Event
- func Dur(key string, d time.Duration) *zerolog.Event
- func Durs(key string, d []time.Duration) *zerolog.Event
- func EmbedObject(obj zerolog.LogObjectMarshaler) *zerolog.Event
- func Err(err error) *zerolog.Event
- func Errs(key string, errs []error) *zerolog.Event
- func Fields(fields map[string]interface{}) *zerolog.Event
- func Float32(key string, f float32) *zerolog.Event
- func Float64(key string, f float64) *zerolog.Event
- func Floats32(key string, f []float32) *zerolog.Event
- func Floats64(key string, f []float64) *zerolog.Event
- func Hex(key string, val []byte) *zerolog.Event
- func IPAddr(key string, ip net.IP) *zerolog.Event
- func IPPrefix(key string, pfx net.IPNet) *zerolog.Event
- func Int(key string, i int) *zerolog.Event
- func Int16(key string, i int16) *zerolog.Event
- func Int32(key string, i int32) *zerolog.Event
- func Int64(key string, i int64) *zerolog.Event
- func Int8(key string, i int8) *zerolog.Event
- func Interface(key string, i interface{}) *zerolog.Event
- func Ints(key string, i []int) *zerolog.Event
- func Ints16(key string, i []int16) *zerolog.Event
- func Ints32(key string, i []int32) *zerolog.Event
- func Ints64(key string, i []int64) *zerolog.Event
- func Ints8(key string, i []int8) *zerolog.Event
- func MACAddr(key string, ha net.HardwareAddr) *zerolog.Event
- func Msg(msg string)
- func Msgf(format string, v ...interface{})
- func Object(key string, obj zerolog.LogObjectMarshaler) *zerolog.Event
- func RawJSON(key string, b []byte) *zerolog.Event
- func Str(key, val string) *zerolog.Event
- func Strs(key string, vals []string) *zerolog.Event
- func Time(key string, t time.Time) *zerolog.Event
- func TimeDiff(key string, t time.Time, start time.Time) *zerolog.Event
- func Times(key string, t []time.Time) *zerolog.Event
- func Uint(key string, i uint) *zerolog.Event
- func Uint16(key string, i uint16) *zerolog.Event
- func Uint32(key string, i uint32) *zerolog.Event
- func Uint64(key string, i uint64) *zerolog.Event
- func Uint8(key string, i uint8) *zerolog.Event
- func Uints(key string, i []uint) *zerolog.Event
- func Uints16(key string, i []uint16) *zerolog.Event
- func Uints32(key string, i []uint32) *zerolog.Event
- func Uints64(key string, i []uint64) *zerolog.Event
- func Uints8(key string, i []uint8) *zerolog.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbedObject ¶
func EmbedObject(obj zerolog.LogObjectMarshaler) *zerolog.Event
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.