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
f4686f99
Commit
f4686f99
authored
Oct 03, 2006
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation clarified to mention optional parameters.
parent
cfbb7df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/lib/liblogging.tex
Doc/lib/liblogging.tex
+4
-4
No files found.
Doc/lib/liblogging.tex
View file @
f4686f99
...
...
@@ -528,8 +528,8 @@ as those created locally. Logger-level filtering is applied using
\method
{
filter()
}
.
\end{methoddesc}
\begin{methoddesc}
{
makeRecord
}{
name, lvl, fn, lno, msg, args, exc
_
info
,
func, extra
}
\begin{methoddesc}
{
makeRecord
}{
name, lvl, fn, lno, msg, args, exc
_
info
\optional
{
, func, extra
}
}
This is a factory method which can be overridden in subclasses to create
specialized
\class
{
LogRecord
}
instances.
\versionchanged
[\var{func} and \var{extra} were added]
{
2.5
}
...
...
@@ -1479,7 +1479,7 @@ source line where the logging call was made, and any exception
information to be logged.
\begin{classdesc}
{
LogRecord
}{
name, lvl, pathname, lineno, msg, args,
exc
_
info
, func
}
exc
_
info
\optional
{
, func
}
}
Returns an instance of
\class
{
LogRecord
}
initialized with interesting
information. The
\var
{
name
}
is the logger name;
\var
{
lvl
}
is the
numeric level;
\var
{
pathname
}
is the absolute pathname of the source
...
...
@@ -1490,7 +1490,7 @@ which, together with \var{msg}, makes up the user message; and
\var
{
exc
_
info
}
is the exception tuple obtained by calling
\function
{
sys.exc
_
info()
}
(or
\constant
{
None
}
, if no exception information
is available). The
\var
{
func
}
is the name of the function from which the
logging call was made.
logging call was made.
If not specified, it defaults to
\var
{
None
}
.
\versionchanged
[\var{func} was added]
{
2.5
}
\end{classdesc}
...
...
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