(self, record)
| 70 | BOLD = "\033[1m" |
| 71 | |
| 72 | def format(self, record): |
| 73 | if record.levelno == logging.debug and "MODEL MAPPING" in record.msg: |
| 74 | # Apply colors and formatting to model mapping logs |
| 75 | return f"{self.BOLD}{self.GREEN}{record.msg}{self.RESET}" |
| 76 | return super().format(record) |
| 77 | |
| 78 | |
| 79 | # Apply custom formatter to console handler |
nothing calls this directly
no outgoing calls
no test coverage detected