field

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

nolint golint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(name string, obj any) zapcore.Field

func Bool

func Bool(name string, b bool) zapcore.Field

func Controller

func Controller(name string) zapcore.Field

func Env

func Env(env string) zapcore.Field

func Error

func Error(err error) zapcore.Field

func Handler

func Handler(name string) zapcore.Field

func Host

func Host(host string) zapcore.Field

func ID

func ID(idi any) zapcore.Field

func IP

func IP(ip string) zapcore.Field

func IPForwardedFor

func IPForwardedFor(ip string) zapcore.Field

func Int

func Int(name string, i int) zapcore.Field

func Int64

func Int64(name string, i int64) zapcore.Field

func Panic

func Panic(pan any) zapcore.Field

func Path

func Path(path string) zapcore.Field

func Port

func Port(port int) zapcore.Field

func Repo

func Repo(name string) zapcore.Field

func Service

func Service(service string) zapcore.Field

func Stack

func Stack(stack any) zapcore.Field

func String

func String(name string, s string) zapcore.Field

func Table

func Table(name string) zapcore.Field

func Tags

func Tags(tags []string) zapcore.Field

func Topic

func Topic(topic string) zapcore.Field

func TraceID

func TraceID(traceID string) zapcore.Field

func Uint64

func Uint64(name string, i uint64) zapcore.Field

func UserAgent

func UserAgent(ua []byte) zapcore.Field

func Version

func Version(version string) zapcore.Field

Types

This section is empty.

Jump to

Keyboard shortcuts

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