Issue #4384: Added logging integration with warnings module using captureWarnings...
commitf6b07df8dcfc470ac4c72c03531d9fe75ac27fba
authorvinay.sajip <vinay.sajip@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 3 Dec 2008 23:22:58 +0000 (3 23:22 +0000)
committervinay.sajip <vinay.sajip@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 3 Dec 2008 23:22:58 +0000 (3 23:22 +0000)
tree5ba8459bd7838a4c09bc2ba4c7f124815611e163
parent84d3e3fb8144c3d85a1f262ca7a35ca0405d46a5
Issue #4384: Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.

git-svn-id: http://svn.python.org/projects/python/trunk@67511 6015fed2-1504-0410-9fe1-9d1591cc4771
Doc/library/logging.rst
Lib/logging/__init__.py
Lib/test/test_logging.py
Misc/NEWS