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
75043028
Kaydet (Commit)
75043028
authored
Ara 19, 2010
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Logging documentation update.
üst
cca5be2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
logging.rst
Doc/library/logging.rst
+7
-4
No files found.
Doc/library/logging.rst
Dosyayı görüntüle @
75043028
...
...
@@ -564,8 +564,9 @@ Programmers can configure logging in three ways:
3. Creating a dictionary of configuration information and passing it
to the :func:`dictConfig` function.
The following example configures a very simple logger, a console
handler, and a simple formatter using Python code::
For the reference documentation on the last two options, see :ref:`config-ref`.
The following example configures a very simple logger, a console handler, and
a simple formatter using Python code::
import logging
...
...
@@ -704,8 +705,8 @@ the new dictionary-based approach::
handlers
:
[
console
]
propagate
:
no
root
:
level
:
DEBUG
handlers
:
[
console
]
level
:
DEBUG
handlers
:
[
console
]
For
more
information
about
logging
using
a
dictionary
,
see
:
ref
:`
logging
-
config
-
api
`.
...
...
@@ -3761,6 +3762,8 @@ with the :mod:`warnings` module.
(
i
.
e
.
those
in
effect
before
`
captureWarnings
(
True
)`
was
called
).
..
_config
-
ref
:
Configuration
-------------
...
...
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