Extending Logger

polettog at gmail.com polettog at gmail.com
Thu Nov 6 23:05:42 CET 2008


Hi,

I took a look to the logging module which was quite sexy at a first
sight, but then i finally realized the following : the Logger class
can't be extended since a Logger is created only with getLogger (the
subclass can't call/shouldn't call Logger.__init__()).
So, did i miss something? or maybe there's no need to extend the
Logger class?
Thank you



More information about the Python-list mailing list