logparam

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package logparam provides parameters for logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string, value bool) boolParam

Bool creates a bool parameter.

func Duration

func Duration(key string, value time.Duration) durationParam

Duration creates a duration parameter.

func Error

func Error(key string, value error) errorParam

Error creates an error parameter.

func Int

func Int(key string, value int) int64Param

Int creates an int parameter.

func Int32

func Int32(key string, value int32) int64Param

Int32 creates an int32 parameter.

func Int64

func Int64(key string, value int64) int64Param

Int64 creates an int64 parameter.

func String

func String(key, value string) stringParam

String creates a string parameter.

func Time

func Time(key string, value time.Time) timeParam

Time creates a time parameter.

func UInt32

func UInt32(key string, value uint32) uint64Param

UInt32 creates a uint32 parameter.

func UInt64

func UInt64(key string, value uint64) uint64Param

UInt64 creates a uint64 parameter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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