Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddReplaceLoggerStringFieldValue ¶
func AddReplaceLoggerStringFieldValue(logger zerolog.Logger, key string, newValue string) zerolog.Logger
AddReplaceLoggerStringFieldValue replaces the value of the key field in logger if present, otherwise it adds the field by doing logger.With().Str(key, newValue).Logger().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.