mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Updated doc for getLogger()
This commit is contained in:
parent
1a4ddaecc7
commit
17952b78e1
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue