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
83eadd14
Kaydet (Commit)
83eadd14
authored
Eyl 20, 2010
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
logging: hasHandlers additions documented.
üst
ae7d7fa0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
logging.rst
Doc/library/logging.rst
+12
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/logging.rst
Dosyayı görüntüle @
83eadd14
...
...
@@ -1129,6 +1129,18 @@ instantiated directly, but always through the module-level function
This
is
a
factory
method
which
can
be
overridden
in
subclasses
to
create
specialized
:
class
:`
LogRecord
`
instances
.
..
method
::
Logger
.
hasHandlers
()
Checks
to
see
if
this
logger
has
any
handlers
configured
.
This
is
done
by
looking
for
handlers
in
this
logger
and
its
parents
in
the
logger
hierarchy
.
Returns
True
if
a
handler
was
found
,
else
False
.
The
method
stops
searching
up
the
hierarchy
whenever
a
logger
with
the
"propagate"
attribute
set
to
False
is
found
-
that
will
be
the
last
logger
which
is
checked
for
the
existence
of
handlers
.
..
versionadded
::
3.2
The
:
meth
:`
hasHandlers
`
method
was
not
present
in
previous
versions
.
..
_minimal
-
example
:
...
...
Misc/NEWS
Dosyayı görüntüle @
83eadd14
...
...
@@ -55,6 +55,8 @@ Core and Builtins
Library
-------
- logging: Added hasHandlers() method to Logger and LoggerAdapter.
- Issue #1686: Fix string.Template when overriding the pattern attribute.
- Issue #9854: SocketIO objects now observe the RawIOBase interface in
...
...
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