MCPcopy
hub / github.com/keploy/keploy / wrapWriter

Function wrapWriter

utils/log/logger.go:134–136  ·  view source on GitHub ↗
(w zapcore.WriteSyncer)

Source from the content-addressed store, hash-verified

132}
133
134func wrapWriter(w zapcore.WriteSyncer) zapcore.WriteSyncer {
135 return &redactingWriter{inner: w}
136}
137
138func (w *redactingWriter) Write(p []byte) (int, error) {
139 r := loadRedactor()

Callers 8

newConsoleLoggerFunction · 0.85
NewFunction · 0.85
reattachDebugFileSinkFunction · 0.85
ChangeLogLevelFunction · 0.85
RedirectToStderrFunction · 0.85
AddModeFunction · 0.85
ChangeColorEncodingFunction · 0.85
AddDebugFileSinkFunction · 0.85

Calls

no outgoing calls

Tested by 1

newConsoleLoggerFunction · 0.68