summaryrefslogtreecommitdiffstats
path: root/Doc/howto/logging.rst
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-07 14:16:52 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-07 14:16:52 (GMT)
commite50f4d2220c22cc84208ba3f1702ffa4e9df6196 (patch)
treed26e89a330151db3a9a6e1b168c02348bbef8311 /Doc/howto/logging.rst
parenta4e700c040ad23a2ad47b6b7b4daeb1f331a5fae (diff)
downloadcpython-e50f4d2220c22cc84208ba3f1702ffa4e9df6196.zip
cpython-e50f4d2220c22cc84208ba3f1702ffa4e9df6196.tar.gz
cpython-e50f4d2220c22cc84208ba3f1702ffa4e9df6196.tar.bz2
Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.
Diffstat (limited to 'Doc/howto/logging.rst')
-rw-r--r--Doc/howto/logging.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index 44b2f59..1e8b662 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -780,13 +780,14 @@ should have the desired effect. If an organisation produces a number of
libraries, then the logger name specified can be 'orgname.foo' rather than
just 'foo'.
-**PLEASE NOTE:** It is strongly advised that you *do not add any handlers other
-than* :class:`~logging.NullHandler` *to your library's loggers*. This is
-because the configuration of handlers is the prerogative of the application
-developer who uses your library. The application developer knows their target
-audience and what handlers are most appropriate for their application: if you
-add handlers 'under the hood', you might well interfere with their ability to
-carry out unit tests and deliver logs which suit their requirements.
+.. note:: It is strongly advised that you *do not add any handlers other
+ than* :class:`~logging.NullHandler` *to your library's loggers*. This is
+ because the configuration of handlers is the prerogative of the application
+ developer who uses your library. The application developer knows their
+ target audience and what handlers are most appropriate for their
+ application: if you add handlers 'under the hood', you might well interfere
+ with their ability to carry out unit tests and deliver logs which suit their
+ requirements.
Logging Levels