Emit a record. Output the record to the file, catering for rollover as described in doRollover().
(self, record)
| 69 | self.errors = errors |
| 70 | |
| 71 | def emit(self, record): |
| 72 | """ |
| 73 | Emit a record. |
| 74 | |
| 75 | Output the record to the file, catering for rollover as described |
| 76 | in doRollover(). |
| 77 | """ |
| 78 | try: |
| 79 | if self.shouldRollover(record): |
| 80 | self.doRollover() |
| 81 | logging.FileHandler.emit(self, record) |
| 82 | except Exception: |
| 83 | self.handleError(record) |
| 84 | |
| 85 | def rotation_filename(self, default_name): |
| 86 | """ |
nothing calls this directly
no test coverage detected