High Python

Use logging module properly

Rule Description

logging module, not print. Configure at app entry point. Use __name__ for logger names. Structured logging with extra dict or structlog.

Included in Rulesets

Django Best Practices
56 rules • 1 standard
View
FastAPI Guidelines
56 rules • 1 standard
View
Python Standards
56 rules • 2 standards
View
Code Review Standards
214 rules • 0 standards
View

Add This Rule

Sign in to add this rule to your workspace

Sign in with GitHub

Details

Severity
High
Category
Python
Used in
4 rulesets