Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3639807a
Commit
3639807a
authored
Nov 23, 2011
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes #13459: Clarified documentation on Logger.propagate. Thanks to Mike Fogel for the patch.
parent
42d96dc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
Doc/library/logging.rst
Doc/library/logging.rst
+9
-3
No files found.
Doc/library/logging.rst
View file @
3639807a
...
...
@@ -59,9 +59,15 @@ instantiated directly, but always through the module-level function
..
attribute
::
Logger
.
propagate
If
this
evaluates
to
false
,
logging
messages
are
not
passed
by
this
logger
or
by
its
child
loggers
to
the
handlers
of
higher
level
(
ancestor
)
loggers
.
The
constructor
sets
this
attribute
to
1.
If
this
evaluates
to
true
,
logging
messages
are
passed
by
this
logger
and
by
its
child
loggers
to
the
handlers
of
higher
level
(
ancestor
)
loggers
.
Messages
are
passed
directly
to
the
ancestor
loggers
' handlers - neither the
level nor filters of the ancestor loggers in question are considered.
If this evaluates to false, logging messages are not passed to the handlers
of ancestor loggers.
The constructor sets this attribute to 1.
.. method:: Logger.setLevel(lvl)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment