Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
107
func
mask(s string) string {
108
for
_, r :=
range
replacers {
109
s = r.regex.ReplaceAllString(s, r.replacement)
110
}
111
return
s
112
}
Callers
6
TestLogMask
Function · 0.85
Debugf
Function · 0.85
Infof
Function · 0.85
Errorf
Function · 0.85
ErrorWithCallDepth
Function · 0.85
Fatalf
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestLogMask
Function · 0.68