[Python-Dev] Using logging in the stdlib and its unit tests

Paul Moore p.f.moore at gmail.com
Wed Dec 8 19:49:52 CET 2010


On 8 December 2010 14:52, Nick Coghlan <ncoghlan at gmail.com> wrote:
> As I see it, there aren't many cases at the *library* level where
> logging errors is more appropriate than raising exceptions:

On a slightly tangential note, what do you think of the idea of
library code including info or debug level logging? In effect, tracing
and diagnostic code built in and available simply by changing the
logging level?

Paul.


More information about the Python-Dev mailing list