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
fd995b5f
Commit
fd995b5f
authored
Feb 13, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc some user visible changes
parent
377817ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Doc/lib/liblogging.tex
Doc/lib/liblogging.tex
+4
-1
No files found.
Doc/lib/liblogging.tex
View file @
fd995b5f
...
...
@@ -526,6 +526,7 @@ as those created locally. Logger-level filtering is applied using
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
}
\end{methoddesc}
\subsection
{
Basic example
\label
{
minimal-example
}}
...
...
@@ -1387,7 +1388,7 @@ Currently, the useful mapping keys in a \class{LogRecord} are:
call was issued (if available).
}
\lineii
{
\%
(filename)s
}
{
Filename portion of pathname.
}
\lineii
{
\%
(module)s
}
{
Module (name portion of filename).
}
\lineii
{
\%
(funcName)s
}
{
Name of function containing the logging call.
}
\lineii
{
\%
(funcName)s
}
{
Name of function containing the logging call.
}
\lineii
{
\%
(lineno)d
}
{
Source line number where the logging call was issued
(if available).
}
\lineii
{
\%
(created)f
}
{
Time when the
\class
{
LogRecord
}
was created (as
...
...
@@ -1404,6 +1405,8 @@ Currently, the useful mapping keys in a \class{LogRecord} are:
\lineii
{
\%
(message)s
}
{
The logged message, computed as
\code
{
msg
\%
args
}
.
}
\end{tableii}
\versionchanged
[\var{funcName} was added]
{
2.5
}
\begin{classdesc}
{
Formatter
}{
\optional
{
fmt
\optional
{
, datefmt
}}}
Returns a new instance of the
\class
{
Formatter
}
class. The
instance is initialized with a format string for the message as a whole,
...
...
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