debug

package
v1.15.6 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

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

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 Int8

func Int8(key string, i int8) *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 Interface

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

func Ints

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

func Ints8

func Ints8(key string, i []int8) *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 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

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 Uint8

func Uint8(key string, i uint8) *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 Uints

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

func Uints8

func Uints8(key string, i []uint8) *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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL