MCPcopy Create free account
hub / github.com/chatmail/core / init_logging

Method init_logging

python/src/deltachat/testplugin.py:359–362  ·  view source on GitHub ↗

idempotent function for initializing logging (will replace existing logger).

(self, acc)

Source from the content-addressed store, hash-verified

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."""

Callers 4

wait_one_configuredMethod · 0.95
_onconfigure_start_ioMethod · 0.95
_getaccountMethod · 0.80

Calls 2

FFIEventLoggerClass · 0.85
add_account_pluginMethod · 0.80

Tested by

no test coverage detected