package
Version:
v0.22.3
Opens a new window with list of versions in this module.
Published: Dec 2, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package logparam provides parameters for logging.
-
func Bool(key string, value bool) boolParam
-
func Duration(key string, value time.Duration) durationParam
-
func Error(key string, value error) errorParam
-
func Int(key string, value int) int64Param
-
func Int32(key string, value int32) int64Param
-
func Int64(key string, value int64) int64Param
-
func String(key, value string) stringParam
-
func Time(key string, value time.Time) timeParam
-
func UInt32(key string, value uint32) uint64Param
-
func UInt64(key string, value uint64) uint64Param
Bool creates a bool parameter.
Duration creates a duration parameter.
Error creates an error parameter.
Int creates an int parameter.
Int32 creates an int32 parameter.
Int64 creates an int64 parameter.
func String(key, value string) stringParam
String creates a string parameter.
Time creates a time parameter.
UInt32 creates a uint32 parameter.
UInt64 creates a uint64 parameter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.