A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-December/106538.html below:

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

[Python-Dev] Using logging in the stdlib and its unit testsBarry Warsaw barry at python.org
Wed Dec 8 00:38:55 CET 2010
On Dec 07, 2010, at 04:59 PM, Robert Kern wrote:

>As a library author, I would dearly love to just add logging liberally
>without placing any additional burden to the users of my library. If my users
>wants to read those logs, he will configure logging. If he doesn't, he
>won't. With the current behavior, I can't do that. If I add logging, he has
>to add code just to silence a message that is meaningless to him (after I get
>the support emails asking if things are broken and explain how to silence
>it). If I add a NullHandler, I remove the ability for him to use
>logging.basicConfig(), the easiest and most straightforward way for him to
>add logging to his application.

+1

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101207/82167d30/attachment-0001.pgp>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4