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
c1f079f3
Kaydet (Commit)
c1f079f3
authored
Ock 14, 2012
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Mention the additional way to use the lvl parameter and when it changed.
üst
b0ae0ac6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
logging.rst
Doc/library/logging.rst
+10
-0
No files found.
Doc/library/logging.rst
Dosyayı görüntüle @
c1f079f3
...
...
@@ -87,6 +87,11 @@ instantiated directly, but always through the module-level function
If
the
root
is
reached
,
and
it
has
a
level
of
NOTSET
,
then
all
messages
will
be
processed
.
Otherwise
,
the
root
's level will be used as the effective level.
.. versionchanged:: 3.2
The *lvl* parameter now accepts a string representation of the
level such as '
INFO
' as an alternative to the integer constants
such as :const:`INFO`.
.. method:: Logger.isEnabledFor(lvl)
...
...
@@ -319,6 +324,11 @@ subclasses. However, the :meth:`__init__` method in subclasses needs to call
severe
than
*
lvl
*
will
be
ignored
.
When
a
handler
is
created
,
the
level
is
set
to
:
const
:`
NOTSET
`
(
which
causes
all
messages
to
be
processed
).
..
versionchanged
::
3.2
The
*
lvl
*
parameter
now
accepts
a
string
representation
of
the
level
such
as
'INFO'
as
an
alternative
to
the
integer
constants
such
as
:
const
:`
INFO
`.
..
method
::
Handler
.
setFormatter
(
form
)
...
...
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