On Nov 7, 8:23 pm, Matimus <[EMAIL PROTECTED]> wrote:
> > Yes but in the other hand
> > :http://docs.python.org/library/logging.html#logger-objects
> > "Note that Loggers are never instantiated directly, but always through
> > the module-level function logging.getLogger(name)."
>
> That is part of
> Yes but in the other hand
> :http://docs.python.org/library/logging.html#logger-objects
> "Note that Loggers are never instantiated directly, but always through
> the module-level function logging.getLogger(name)."
That is part of the power of the logging module. If you ask for a
logger of the
On Nov 7, 12:17 am, Thomas Christensen <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] writes:
> > 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 get
[EMAIL PROTECTED] writes:
> 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
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