Message202428
Example proggie.
It writes its own config file (really_cool_logging.conf), then attempts to read it, all to ~/testlog
If you inherit from the class FileLogger with any other class you get instant access to self.log.<any logger command> which will write debug and above to ~/testlog/really_cool_logging.log, and info and above to the console.
Which is really handy when you have a lot of command scripts that you want to log to one place. |
|
Date |
User |
Action |
Args |
2013-11-08 15:33:18 | 51m0n | set | recipients:
+ 51m0n, eric.smith |
2013-11-08 15:33:18 | 51m0n | set | messageid: <1383924798.23.0.963966988806.issue19528@psf.upfronthosting.co.za> |
2013-11-08 15:33:18 | 51m0n | link | issue19528 messages |
2013-11-08 15:33:18 | 51m0n | create | |
|