Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

debug

v1.15.6
github.com/u6du/zerolog/debug

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

51 matches

Top ↑

Functions

AnErr

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

Array

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

Bool

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

Bools

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

Bytes

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

Dict

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

Dur

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

Durs

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

EmbedObject

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

Err

func Err(err error) *zerolog.Event

Errs

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

Fields

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

Float32

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

Float64

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

Floats32

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

Floats64

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

Hex

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

IPAddr

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

IPPrefix

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

Int

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

Int16

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

Int32

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

Int64

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

Int8

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

Interface

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

Ints

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

Ints16

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

Ints32

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

Ints64

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

Ints8

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

MACAddr

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

Msg

func Msg(msg string)

Msgf

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

Object

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

RawJSON

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

Str

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

Strs

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

Time

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

TimeDiff

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

Times

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

Uint

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

Uint16

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

Uint32

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

Uint64

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

Uint8

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

Uints

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

Uints16

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

Uints32

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

Uints64

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

Uints8

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

Dependency graph