plating 2026-03-20
Guard debug and trace log calls with level-check predicates
12 files · 65+ · 31-

Guard debug log calls across 11 files

11 files changed
  • auto_detect.py Wrapped debug() calls with is_debug_enabled() guard
  • main.py Wrapped debug() calls with is_debug_enabled() guard
  • pyproject.py Wrapped debug() calls with is_debug_enabled() guard
  • doc_generator.py Wrapped debug() calls with is_debug_enabled() guard
  • index_merger.py Wrapped debug() calls with is_debug_enabled() guard
  • project_utils.py Wrapped debug() calls with is_debug_enabled() guard
  • markdown_validator.py Wrapped debug() calls with is_debug_enabled() guard
  • nav_generator.py Wrapped debug() calls with is_debug_enabled() guard
  • registry.py Wrapped debug() calls with is_debug_enabled() guard
  • engine.py Wrapped debug() calls with is_debug_enabled() guard
  • functions.py Wrapped debug() calls with is_debug_enabled() guard
  • Wrapped all debug() calls that construct f-strings with is_debug_enabled() guards across 11 source files to avoid unnecessary string interpolation streamline internal
    11 files
    • auto_detect.py
    • main.py
    • pyproject.py
    • doc_generator.py
    • index_merger.py
    • project_utils.py
    • markdown_validator.py
    • nav_generator.py
    • registry.py
    • engine.py
    • functions.py

Guard trace log call in adorner

1 file changed
  • adorner.py Wrapped trace() call with is_trace_enabled() guard
  • Wrapped trace() call in adorner/adorner.py with is_trace_enabled() guard streamline internal
    1 file
    • adorner.py