[Twisted-Python] Re: [Twisted-commits] r14614 - Describe log.debug, and 'printed' and 'debug' log dict items.

Andrew Bennetts andrew-twisted at puzzling.org
Wed Oct 5 03:24:05 EDT 2005


On Tue, Oct 04, 2005 at 11:49:04PM -0400, Jp Calderone wrote:
> On Tue, 4 Oct 2005 23:18:40 -0400, James Y Knight <foom at fuhm.net> wrote:
[...]
> >
> >Notice how log.err("Foo!") doesn't actually do what you might hope. 
> >Contrast with log.msg("Foo!", isError=1) which does.
> 
> Neither of these is supported behavior.  They're implementation accidents 
> and shouldn't be used.  It's understandable that this is surprising, since 
> I doubt it's ever been written down anywhere.

Would you mind reviewing logging.xhtml to make sure it's perfectly correct
about these matters, then?  I made the best educated guesses about the
intentions of the code that I could, but I might have made some mistakes.

-Andrew.





More information about the Twisted-Python mailing list