[Python-Dev] Using logging in the stdlib and its unit tests (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Sat Dec 11 09:14:27 CET 2010


On Sat, Dec 11, 2010 at 6:00 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

What may make more sense than yet another global config mechanism, is a module level "addHandler" helper function along the following lines:

For a more readable version of that example, take a look at the copy I put up over on the Python Cookbook site: http://code.activestate.com/recipes/577496-simple-creation-configuration-and-installation-of-/

Cheers, Nick.

-- Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-Dev mailing list