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.
Click to show internal directories.
Click to hide internal directories.