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
1dc5b1e5
Commit
1dc5b1e5
authored
Oct 03, 2004
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified documentation about exc_info keyword parameter
parent
130e37f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
Doc/lib/liblogging.tex
Doc/lib/liblogging.tex
+8
-4
No files found.
Doc/lib/liblogging.tex
View file @
1dc5b1e5
...
...
@@ -162,8 +162,10 @@ Logs a message with level \constant{DEBUG} on the root logger.
The
\var
{
msg
}
is the message format string, and the
\var
{
args
}
are the
arguments which are merged into
\var
{
msg
}
. The only keyword argument in
\var
{
kwargs
}
which is inspected is
\var
{
exc
_
info
}
which, if it does not
evaluate as false, causes exception information (via a call to
\function
{
sys.exc
_
info()
}
) to be added to the logging message.
evaluate as false, causes exception information to be added to the logging
message. If an exception tuple (in the format returned by
\function
{
sys.exc
_
info()
}
) is provided, it is used; otherwise,
\function
{
sys.exc
_
info()
}
is called to get the exception information.
\end{funcdesc}
\begin{funcdesc}
{
info
}{
msg
\optional
{
, *args
\optional
{
, **kwargs
}}}
...
...
@@ -310,8 +312,10 @@ Logs a message with level \constant{DEBUG} on this logger.
The
\var
{
msg
}
is the message format string, and the
\var
{
args
}
are the
arguments which are merged into
\var
{
msg
}
. The only keyword argument in
\var
{
kwargs
}
which is inspected is
\var
{
exc
_
info
}
which, if it does not
evaluate as false, causes exception information (via a call to
\function
{
sys.exc
_
info()
}
) to be added to the logging message.
evaluate as false, causes exception information to be added to the logging
message. If an exception tuple (as provided by
\function
{
sys.exc
_
info()
}
)
is provided, it is used; otherwise,
\function
{
sys.exc
_
info()
}
is called
to get the exception information.
\end{methoddesc}
\begin{methoddesc}
{
info
}{
msg
\optional
{
, *args
\optional
{
, **kwargs
}}}
...
...
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