redact

package
v4.0.15+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRedact

func InitRedact(redactLog bool)

InitRedact inits the enableRedactLog

func Key

func Key(key []byte) string

Key receives a key return omitted information if redact log enabled

func NeedRedact

func NeedRedact() bool

NeedRedact returns whether to redact log

func String

func String(arg string) string

String receives string argument and return omitted information if redact log enabled

Types

This section is empty.

Jump to

Keyboard shortcuts

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