[Zope-dev] Re: zLOG module deprecated
Fred Drake
fdrake at gmail.com
Mon Jan 9 11:20:20 EST 2006
On 1/9/06, Florent Guillaume <fg at nuxeo.com> wrote:
> My point is that the python logging levels are insufficiently fine
> grained.
> The python logging framework leaves room for numeric levels and
> registering equivalent strings, and indeed ZODB and zLOG have them
> defined.
>
> I want to use them.
Do you need someone else to define a constant for the level you want
before you can use them? There's a API in the logging module that
allows you to pass the desired level in. I see no reason to require a
constant to be defined outside your code.
-Fred
--
Fred L. Drake, Jr. <fdrake at gmail.com>
"There is no wealth but life." --John Ruskin
More information about the Zope-Dev
mailing list