summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2004-08-31 10:21:51 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2004-08-31 10:21:51 (GMT)
commit17952b78e10818fb567c1163a67017c0e313c78b (patch)
tree6800d2782291a2e8e6af37345cbebf8a8dd7fbfe
parent1a4ddaecc732c207fa69890db87ac4b47da867b8 (diff)
downloadcpython-17952b78e10818fb567c1163a67017c0e313c78b.zip
cpython-17952b78e10818fb567c1163a67017c0e313c78b.tar.gz
cpython-17952b78e10818fb567c1163a67017c0e313c78b.tar.bz2
Updated doc for getLogger()
-rw-r--r--Doc/lib/liblogging.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex
index daaabce..ecb3791 100644
--- a/Doc/lib/liblogging.tex
+++ b/Doc/lib/liblogging.tex
@@ -134,7 +134,10 @@ level functions.
\begin{funcdesc}{getLogger}{\optional{name}}
Return a logger with the specified name or, if no name is specified, return
-a logger which is the root logger of the hierarchy.
+a logger which is the root logger of the hierarchy. If specified, the name
+is typically a dot-separated hierarchical name like \var{"a"}, \var{"a.b"}
+or \var{"a.b.c.d"}. Choice of these names is entirely up to the developer
+who is using logging.
All calls to this function with a given name return the same logger instance.
This means that logger instances never need to be passed between different