idempotent function for initializing logging (will replace existing logger).
(self, acc)
| 357 | acc.log("inbox IDLE ready") |
| 358 | |
| 359 | def init_logging(self, acc): |
| 360 | """idempotent function for initializing logging (will replace existing logger).""" |
| 361 | logger = FFIEventLogger(acc, logid=acc._logid, init_time=self.init_time) |
| 362 | acc.add_account_plugin(logger, name="logger-" + acc._logid) |
| 363 | |
| 364 | def init_imap(self, acc): |
| 365 | """initialize direct_imap and cleanup server state.""" |
no test coverage detected