utils

package
v0.0.0-...-99e2fb8 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ignore = &ignoreKeyPair{}

Ignore can be used as value for a message field, which should not be present, but is still given in the values list. This can be used to avoid complex value list generation for optional fields of a logging call.

This value is only considered as special value for the logging functions of this module, or if a message formatter of this module is used. For plain logrus formatter, or logr logger it is just a regular value. Its string representation is "<unset>"-

Functions

func FieldValue

func FieldValue(formatter func(interface{}) string, v interface{}) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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