Enable debug mode with optional validation tracing.
(self, trace_validation: bool = False)
| 82 | self.logger = logging.getLogger(__name__) |
| 83 | |
| 84 | def enable_debug(self, trace_validation: bool = False): |
| 85 | """Enable debug mode with optional validation tracing.""" |
| 86 | self.debug_mode = True |
| 87 | self.trace_validation = trace_validation |
| 88 | self.logger.setLevel(logging.DEBUG) |
| 89 | |
| 90 | def log_debug(self, message: str, **kwargs): |
| 91 | """Debug logging with rich formatting if available.""" |