field

package
v0.0.0-...-9c44629 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(key string, value interface{}) zap.Field

func Binary

func Binary(key string, value []byte) zap.Field

func Bool

func Bool(key string, value bool) zap.Field

func ByteString

func ByteString(key string, value []byte) zap.Field

func Complex128

func Complex128(key string, value complex128) zap.Field

func Complex64

func Complex64(key string, value complex64) zap.Field

func Duration

func Duration(key string, value time.Duration) zap.Field

func Entity

func Entity(name string) zap.Field

func Error

func Error(err error) zap.Field

func Float32

func Float32(key string, value float32) zap.Field

func Float64

func Float64(key string, value float64) zap.Field

func Int

func Int(key string, value int) zap.Field

func Int16

func Int16(key string, value int16) zap.Field

func Int32

func Int32(key string, value int32) zap.Field

func Int64

func Int64(key string, value int64) zap.Field

func Int8

func Int8(key string, value int8) zap.Field

func Package

func Package(name string) zap.Field

func Stack

func Stack(key string) zap.Field

func String

func String(key string, value string) zap.Field

func Stringer

func Stringer(key string, value fmt.Stringer) zap.Field

func Time

func Time(key string, value time.Time) zap.Field

func Uint

func Uint(key string, value uint) zap.Field

func Uint16

func Uint16(key string, value uint16) zap.Field

func Uint32

func Uint32(key string, value uint32) zap.Field

func Uint64

func Uint64(key string, value uint64) zap.Field

func Uint8

func Uint8(key string, value uint8) zap.Field

Types

type Field

type Field = zap.Field

Jump to

Keyboard shortcuts

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