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

Stephen J. Turnbull stephen at xemacs.org
Fri Dec 10 10:47:50 CET 2010


Vinay Sajip writes:

 > Indeed, and the very first code sample in the logging documentation
 > shows exactly the simplistic easy usage you're talking about. I
 > can't see why anyone would be scared off by that example.

They're not scared by that example.  What you need is a paragraph
below it that says

    """
    Do you think the above is all you should need?  If so, you're
    right.  You can stop reading now.  If you think you need more,
    we've got that, too.  Read on (you may need more coffee).
    """ 

No?


More information about the Python-Dev mailing list