Version: v1.15.6 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 5 Imported by: 0




This section is empty.


This section is empty.


func AnErr

func AnErr(key string, err error) *zerolog.Event

func Array

func Array(key string, arr zerolog.LogArrayMarshaler) *zerolog.Event

func Bool

func Bool(key string, b bool) *zerolog.Event

func Bools

func Bools(key string, b []bool) *zerolog.Event

func Bytes

func Bytes(key string, val []byte) *zerolog.Event

func Dict

func Dict(key string, dict *zerolog.Event) *zerolog.Event

func Dur

func Dur(key string, d time.Duration) *zerolog.Event

func Durs

func Durs(key string, d []time.Duration) *zerolog.Event

func EmbedObject added in v1.15.5

func EmbedObject(obj zerolog.LogObjectMarshaler) *zerolog.Event

func Err

func Err(err error) *zerolog.Event

func Errs

func Errs(key string, errs []error) *zerolog.Event

func Fields added in v1.15.6

func Fields(fields map[string]interface{}) *zerolog.Event

func Float32

func Float32(key string, f float32) *zerolog.Event

func Float64

func Float64(key string, f float64) *zerolog.Event

func Floats32

func Floats32(key string, f []float32) *zerolog.Event

func Floats64

func Floats64(key string, f []float64) *zerolog.Event

func Hex

func Hex(key string, val []byte) *zerolog.Event

func IPAddr

func IPAddr(key string, ip net.IP) *zerolog.Event

func IPPrefix

func IPPrefix(key string, pfx net.IPNet) *zerolog.Event

func Int

func Int(key string, i int) *zerolog.Event

func Int16

func Int16(key string, i int16) *zerolog.Event

func Int32

func Int32(key string, i int32) *zerolog.Event

func Int64

func Int64(key string, i int64) *zerolog.Event

func Int8

func Int8(key string, i int8) *zerolog.Event

func Interface

func Interface(key string, i interface{}) *zerolog.Event

func Ints

func Ints(key string, i []int) *zerolog.Event

func Ints16

func Ints16(key string, i []int16) *zerolog.Event

func Ints32

func Ints32(key string, i []int32) *zerolog.Event

func Ints64

func Ints64(key string, i []int64) *zerolog.Event

func Ints8

func Ints8(key string, i []int8) *zerolog.Event

func MACAddr

func MACAddr(key string, ha net.HardwareAddr) *zerolog.Event

func Msg

func Msg(msg string)

func Msgf

func Msgf(format string, v ...interface{})

func Object

func Object(key string, obj zerolog.LogObjectMarshaler) *zerolog.Event

func RawJSON

func RawJSON(key string, b []byte) *zerolog.Event

func Str added in v1.15.5

func Str(key, val string) *zerolog.Event

func Strs

func Strs(key string, vals []string) *zerolog.Event

func Time

func Time(key string, t time.Time) *zerolog.Event

func TimeDiff

func TimeDiff(key string, t time.Time, start time.Time) *zerolog.Event

func Times

func Times(key string, t []time.Time) *zerolog.Event

func Uint

func Uint(key string, i uint) *zerolog.Event

func Uint16

func Uint16(key string, i uint16) *zerolog.Event

func Uint32

func Uint32(key string, i uint32) *zerolog.Event

func Uint64

func Uint64(key string, i uint64) *zerolog.Event

func Uint8

func Uint8(key string, i uint8) *zerolog.Event

func Uints

func Uints(key string, i []uint) *zerolog.Event

func Uints16

func Uints16(key string, i []uint16) *zerolog.Event

func Uints32

func Uints32(key string, i []uint32) *zerolog.Event

func Uints64

func Uints64(key string, i []uint64) *zerolog.Event

func Uints8

func Uints8(key string, i []uint8) *zerolog.Event


This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL