Logging - gelisa/txdbus GitHub Wiki
From wolfhechel email: As for the logging, two approaches came to mind:
- Initialize logging alongside the event loop abstraction and pass the log object to all involved classes.
- Setup a global logging object in txdbus.log and upon initalization setup the appropriate logging facility (default to stdlib logging).
Actually I just remembered twisted can interact with the stdlib logging library as well through `twisted.python.log.PythonLoggingObserver`.
So I would change it to using `logging` and in the twisted interface implementation use that.
- Implementation plan
- Use stdlib logging library.
- In the twisted interface implementation use `twisted.python.log.PythonLoggingObserver`