Why this matters
Prevents noisy logs and leaking internals to users.
Delete Console.WriteLine, Debug.WriteLine, and temporary diagnostics before merging; rely on structured logging.
Prevents noisy logs and leaking internals to users.
Side-by-side examples engineers can pattern-match during review.
Console.WriteLine($"DEBUG: {payload}");_logger.LogDebug("payload received {Size}", payload.Length);Console.WriteLine("here")_logger.LogInformation("done")From the same buckets as this rule.