aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2014-01-15 15:09:05 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2014-01-15 15:09:05 +0000
commitcbefe3b9a0b9efe0e14b53c8737a633f81c22dd2 (patch)
tree926446bb6e8ac380f2081108acd2c15a8eb89185 /Doc/library/logging.rst
parentClarified documentation note on module-level convenience functions. (diff)
downloadcpython-cbefe3b9a0b9efe0e14b53c8737a633f81c22dd2.tar.gz
cpython-cbefe3b9a0b9efe0e14b53c8737a633f81c22dd2.tar.bz2
cpython-cbefe3b9a0b9efe0e14b53c8737a633f81c22dd2.zip
Added cookbook entry on alternative formatting styles.
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r--Doc/library/logging.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index cf4893cb504..8d093e14789 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -500,7 +500,8 @@ The useful mapping keys in a :class:`LogRecord` are given in the section on
The *style* parameter can be one of '%', '{' or '$' and determines how
the format string will be merged with its data: using one of %-formatting,
- :meth:`str.format` or :class:`string.Template`.
+ :meth:`str.format` or :class:`string.Template`. See :ref:`formatting-styles`
+ for more information on using {- and $-formatting for log messages.
.. versionchanged:: 3.2
The *style* parameter was added.