Initialize the handler with the buffer size.
(self, capacity)
| 1342 | be flushed. If it should, then flush() is expected to do what's needed. |
| 1343 | """ |
| 1344 | def __init__(self, capacity): |
| 1345 | """ |
| 1346 | Initialize the handler with the buffer size. |
| 1347 | """ |
| 1348 | logging.Handler.__init__(self) |
| 1349 | self.capacity = capacity |
| 1350 | self.buffer = [] |
| 1351 | |
| 1352 | def shouldFlush(self, record): |
| 1353 | """ |