console.log("here"), print("WTF"), logger.info("asdf"). The message content is the signal: “got here”, “hello world”, “TODO remove”, variable dumps like "x = 42".
Log severity is irrelevant. These can be INFO, DEBUG, or anything else. What matters is the message itself: obviously temporary debugging garbage that no one intended to keep.
Example
- Before
- After
Recommended enforcement
Open PRs
Fix at the source. These are code mistakes. Remove them from the codebase.