diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-02-25 05:33:07 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-02-25 05:33:07 (GMT) |
commit | 499969a08cd8399b9038abbbcd58247f03bae22d (patch) | |
tree | ee326eaf11d536236f2fd783cf48f20152a966e9 | |
parent | 0031ff3f1c89859b73ac8360c3f955da48c5b8ff (diff) | |
download | cpython-499969a08cd8399b9038abbbcd58247f03bae22d.zip cpython-499969a08cd8399b9038abbbcd58247f03bae22d.tar.gz cpython-499969a08cd8399b9038abbbcd58247f03bae22d.tar.bz2 |
Add minor markup for a string.
-rw-r--r-- | Doc/library/logging.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 23a0f22..2399f33 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -245,8 +245,8 @@ With the logger object configured, the following methods create log messages: little more verbose for logging messages than using the log level convenience methods listed above, but this is how to log at custom log levels. -:func:`getLogger` returns a reference to a logger instance with a name of name -if a name is provided, or root if not. The names are period-separated +:func:`getLogger` returns a reference to a logger instance with the specified +if it it is provided, or ``root`` if not. The names are period-separated hierarchical structures. Multiple calls to :func:`getLogger` with the same name will return a reference to the same logger object. Loggers that are further down in the hierarchical list are children of loggers higher up in the list. @@ -298,7 +298,7 @@ Formatters ^^^^^^^^^^ Formatter objects configure the final order, structure, and contents of the log -message. Unlike the base logging.Handler class, application code may +message. Unlike the base :class:`logging.Handler` class, application code may instantiate formatter classes, although you could likely subclass the formatter if your application needs special behavior. The constructor takes two optional arguments: a message format string and a date format string. If there is no |