MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / mask

Function mask

log/log.go:107–112  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

105}
106
107func mask(s string) string {
108 for _, r := range replacers {
109 s = r.regex.ReplaceAllString(s, r.replacement)
110 }
111 return s
112}

Callers 6

TestLogMaskFunction · 0.85
DebugfFunction · 0.85
InfofFunction · 0.85
ErrorfFunction · 0.85
ErrorWithCallDepthFunction · 0.85
FatalfFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestLogMaskFunction · 0.68