Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f40a4075
Kaydet (Commit)
f40a4075
authored
Eyl 18, 2014
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #22436: Improved documentation for getEffectiveLevel() and getLevelName().
üst
74012c17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
logging.rst
Doc/library/logging.rst
+9
-1
No files found.
Doc/library/logging.rst
Dosyayı görüntüle @
f40a4075
...
@@ -130,7 +130,9 @@ is the module's name in the Python package namespace.
...
@@ -130,7 +130,9 @@ is the module's name in the Python package namespace.
Indicates
the
effective
level
for
this
logger
.
If
a
value
other
than
Indicates
the
effective
level
for
this
logger
.
If
a
value
other
than
:
const
:`
NOTSET
`
has
been
set
using
:
meth
:`
setLevel
`,
it
is
returned
.
Otherwise
,
:
const
:`
NOTSET
`
has
been
set
using
:
meth
:`
setLevel
`,
it
is
returned
.
Otherwise
,
the
hierarchy
is
traversed
towards
the
root
until
a
value
other
than
the
hierarchy
is
traversed
towards
the
root
until
a
value
other
than
:
const
:`
NOTSET
`
is
found
,
and
that
value
is
returned
.
:
const
:`
NOTSET
`
is
found
,
and
that
value
is
returned
.
The
value
returned
is
an
integer
,
typically
one
of
:
const
:`
logging
.
DEBUG
`,
:
const
:`
logging
.
INFO
`
etc
.
..
method
::
Logger
.
getChild
(
suffix
)
..
method
::
Logger
.
getChild
(
suffix
)
...
@@ -898,6 +900,12 @@ functions.
...
@@ -898,6 +900,12 @@ functions.
of
the
defined
levels
is
passed
in
,
the
corresponding
string
representation
is
of
the
defined
levels
is
passed
in
,
the
corresponding
string
representation
is
returned
.
Otherwise
,
the
string
"Level %s"
%
lvl
is
returned
.
returned
.
Otherwise
,
the
string
"Level %s"
%
lvl
is
returned
.
..
note
::
Integer
levels
should
be
used
when
e
.
g
.
setting
levels
on
instances
of
:
class
:`
Logger
`
and
handlers
.
This
function
is
used
to
convert
between
an
integer
level
and
the
level
name
displayed
in
the
formatted
log
output
by
means
of
the
``%(
levelname
)
s
``
format
specifier
(
see
:
ref
:`
logrecord
-
attributes
`).
..
function
::
makeLogRecord
(
attrdict
)
..
function
::
makeLogRecord
(
attrdict
)
...
...
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