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
350e6236
Commit
350e6236
authored
Jan 15, 2014
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified documentation note on module-level convenience functions.
parent
71337cb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
Doc/library/logging.rst
Doc/library/logging.rst
+9
-8
No files found.
Doc/library/logging.rst
View file @
350e6236
...
...
@@ -1002,14 +1002,15 @@ functions.
Logs
a
message
with
level
*
level
*
on
the
root
logger
.
The
other
arguments
are
interpreted
as
for
:
func
:`
debug
`.
..
note
::
The
above
module
-
level
functions
which
delegate
to
the
root
logger
should
*
not
*
be
used
in
threads
,
in
versions
of
Python
earlier
than
2.7.1
and
3.2
,
unless
at
least
one
handler
has
been
added
to
the
root
logger
*
before
*
the
threads
are
started
.
These
convenience
functions
call
:
func
:`
basicConfig
`
to
ensure
that
at
least
one
handler
is
available
;
in
earlier
versions
of
Python
,
this
can
(
under
rare
circumstances
)
lead
to
handlers
being
added
multiple
times
to
the
root
logger
,
which
can
in
turn
lead
to
multiple
messages
for
the
same
event
.
..
note
::
The
above
module
-
level
convenience
functions
,
which
delegate
to
the
root
logger
,
call
:
func
:`
basicConfig
`
to
ensure
that
at
least
one
handler
is
available
.
Because
of
this
,
they
should
*
not
*
be
used
in
threads
,
in
versions
of
Python
earlier
than
2.7.1
and
3.2
,
unless
at
least
one
handler
has
been
added
to
the
root
logger
*
before
*
the
threads
are
started
.
In
earlier
versions
of
Python
,
due
to
a
thread
safety
shortcoming
in
:
func
:`
basicConfig
`,
this
can
(
under
rare
circumstances
)
lead
to
handlers
being
added
multiple
times
to
the
root
logger
,
which
can
in
turn
lead
to
multiple
messages
for
the
same
event
.
..
function
::
disable
(
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