redact

package
v1.1.0-beta.0...-c0b86a3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, 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