Add logging functionality
authorSam Lade <sam@sentynel.com>
Tue, 3 Jan 2012 04:42:11 +0000 (04:42 +0000)
committerSam Lade <sam@sentynel.com>
Tue, 3 Jan 2012 04:42:11 +0000 (04:42 +0000)
commit2aeaf743cf2e0789773af96c79d5bbf96281aed9
treed75cd38729812cd7ec4857396169426799d9483f
parent1e4b3b8746a7ad2b006653457180b07a7e9ca3c0
Add logging functionality

* Logger class which handles actually writing logs to disk.
* Settings for logging.
* Modification to ThemeEngine to generate plaintext output for the logs as
  well. Strips trailing timestamps, as the log is timestamped itself.
* Menu action to show log directory, which is only present if logging is
  actually enabled.
* Includes alteration to RookChat patch to ensure that HTML comment timestamps
  are generated in GMT not server time, to facilitate logging with timestamps
  in local time.
PyRook/ChatTab.py
PyRook/ChatWindow.py
PyRook/Logger.py [new file with mode: 0644]
PyRook/SettingsDialog.py
PyRook/ThemeEngine.py
rookchat_timestamp.patch