MCPcopy
hub / github.com/chenhg5/cc-connect / Debug

Method Debug

platform/feishu/feishu.go:74–86  ·  view source on GitHub ↗
(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

72}
73
74func (l *sanitizingLogger) Debug(ctx context.Context, args ...interface{}) {
75 for _, arg := range args {
76 s, ok := arg.(string)
77 if !ok {
78 continue
79 }
80 msg := strings.ToLower(s)
81 if strings.Contains(msg, "ping success") || strings.Contains(msg, "receive pong") {
82 return
83 }
84 }
85 l.inner.Debug(ctx, l.maskURL(args...)...)
86}
87
88func (l *sanitizingLogger) Info(ctx context.Context, args ...interface{}) {
89 l.inner.Info(ctx, l.maskURL(args...)...)

Callers 15

newCompactProgressWriterFunction · 0.45
executeMethod · 0.45
readHeartbeatMDFunction · 0.45
checkRateLimitMethod · 0.45
StopMethod · 0.45
handleMessageRecallMethod · 0.45
handleMessageMethod · 0.45

Calls 2

maskURLMethod · 0.95
ContainsMethod · 0.80