log

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaskAndUserTagArguments

func MaskAndUserTagArguments(args, flagsToTag, flagsToMask []string) string

MaskAndUserTagArguments is a convenient way of calling both UserTagArguments and MaskArguments on the given data. It will return the resulting string slice joined with a space between element for easy logging.

func MaskAndUserTagCBMArguments

func MaskAndUserTagCBMArguments(args []string) string

func MaskArguments

func MaskArguments(args, flagsToMask []string) []string

MaskArguments returns a new slice with the values of the flags given in flagsToMask replaced by a fix number of *.

func MaskCBMArguments

func MaskCBMArguments(args []string) []string

func UserTagArguments

func UserTagArguments(args, flagsToTag []string) []string

UserTagArguments returns a new slice with the values for the flags given in flagsToTag surrounded by the <ud></ud> tags.

func UserTagCBMArguments

func UserTagCBMArguments(args []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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