summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-12-12 22:30:17 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-12-12 22:30:17 (GMT)
commit36675b6a0fe359a76c0280ddd635fba0fa2370f3 (patch)
tree09ac85684b8aedc41e0469799b6c86a6dcd63a8f /Doc/library
parent7bdfe7755b5767148458b899c59621c04a7aa65a (diff)
downloadcpython-36675b6a0fe359a76c0280ddd635fba0fa2370f3.zip
cpython-36675b6a0fe359a76c0280ddd635fba0fa2370f3.tar.gz
cpython-36675b6a0fe359a76c0280ddd635fba0fa2370f3.tar.bz2
Logging documentation - further update.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/logging.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 54d72b3..b11dbc5 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -12,7 +12,7 @@
.. index:: pair: Errors; logging
This module defines functions and classes which implement a flexible error
-logging system for applications.
+logging system for applications and libraries.
The key benefit of having the logging API provided by a standard library module
is that all Python modules can participate in logging, so your application log
@@ -224,8 +224,9 @@ will display::
As you can see, merging of variable data into the event description message
uses the old, %-style of string formatting. This is for backwards
compatibility: the logging package pre-dates newer formatting options such as
-:meth:`str.format` and :class:`string.Template`. These formatting options *are*
-supported, but exploring them is outside the scope of this tutorial.
+:meth:`str.format` and :class:`string.Template`. These newer formatting
+options *are* supported, but exploring them is outside the scope of this
+tutorial.
Changing the format of displayed messages