package
5.0.0-rc+incompatible
Repository: https://github.com/andremouche/br.git
Documentation: pkg.go.dev
# Functions
File make the zap fields for a file.
Files make the zap field for a set of file.
InitRedact inits the enableRedactLog.
NeedRedact returns whether to redact log.
RedactString receives string argument and return omitted information if redact log enabled.
RedactStringer receives stringer argument and return omitted information if redact log enabled.
Region make the zap fields for a region.
RewriteRule make the zap fields for a rewrite rule.
ShortError make the zap field to display error without verbose representation (e.g.
SSTMeta make the zap fields for a SST meta.
WrapKey wrap a key as a Stringer that can print proper upper hex format.
WrapKeys wrap keys as an ArrayMarshaler that can print proper upper hex format.
ZapRedactReflect receives zap.Reflect and return omitted information if redact log enabled.
ZapRedactStringer receives stringer argument and return omitted information in zap.Field if redact log enabled.