| 331 | |
| 332 | |
| 333 | class OutputFormatter(logging.Formatter): |
| 334 | def format(self, record): |
| 335 | string = super().format(record) |
| 336 | if hasattr(record, 'output'): |
| 337 | string += f'\n{record.output}' |
| 338 | return string |
| 339 | |
| 340 | |
| 341 | class TeamCityFormatter(logging.Formatter): |