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
2ef85a72
Kaydet (Commit)
2ef85a72
authored
Ock 25, 2003
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix minor typos.
üst
aa5af8dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
liblogging.tex
Doc/lib/liblogging.tex
+6
-6
No files found.
Doc/lib/liblogging.tex
Dosyayı görüntüle @
2ef85a72
...
...
@@ -257,7 +257,7 @@ determined by \method{getEffectiveLevel()}.
Indicates the effective level for this logger. If a value other than
\constant
{
ALL
}
has been set using
\method
{
setLevel()
}
, it is returned.
Otherwise, the hierarchy is traversed towards the root until a value
other than
\constant
{
ALL
}
is found,and that value is returned.
other than
\constant
{
ALL
}
is found,
and that value is returned.
\end{methoddesc}
\begin{methoddesc}
{
debug
}{
msg
\optional
{
, *args
\optional
{
, **kwargs
}}}
...
...
@@ -432,7 +432,7 @@ raises a \exception{NotImplementedError}.
The
\class
{
StreamHandler
}
class sends logging output to streams such as
\var
{
sys.stdout
}
,
\var
{
sys.stderr
}
or any file-like object (or, more
precisely, any object which supports
\method
{
write()
}
and
\method
{
flush()
}
methods.
methods
)
.
\begin{classdesc}
{
StreamHandler
}{
\optional
{
strm
}}
Returns a new instance of the
\class
{
StreamHandler
}
class. If
\var
{
strm
}
is
...
...
@@ -549,7 +549,7 @@ it ready for transmission across the socket.
\end{methoddesc}
\begin{methoddesc}
{
send
}{
packet
}
Send a pickled string
\var
{
packe
}
to the socket. This function allows
Send a pickled string
\var
{
packe
t
}
to the socket. This function allows
for partial sends which can happen when the network is busy.
\end{methoddesc}
...
...
@@ -717,7 +717,7 @@ calls \method{flush()} to process the buffer.
\end{methoddesc}
\begin{methoddesc}
{
flush
}{}
You can override this to implement custom flushing behavio
u
r. This version
You can override this to implement custom flushing behavior. This version
just zaps the buffer to empty.
\end{methoddesc}
...
...
@@ -743,7 +743,7 @@ clears the buffer.
\begin{methoddesc}
{
flush
}{}
For a
\class
{
MemoryHandler
}
, flushing means just sending the buffered
records to the target, if there is one. Override if you want
different behavio
u
r.
different behavior.
\end{methoddesc}
\begin{methoddesc}
{
setTarget
}{
target
}
...
...
@@ -831,7 +831,7 @@ event time. If there is exception information, it is formatted using
This method should be called from
\method
{
format()
}
by a formatter which
wants to make use of a formatted time. This method can be overridden
in formatters to provide for any specific requirement, but the
basic behavio
u
r is as follows: if
\var
{
datefmt
}
(a string) is specified,
basic behavior is as follows: if
\var
{
datefmt
}
(a string) is specified,
it is used with
\method
{
time.strftime()
}
to format the creation time of the
record. Otherwise, the ISO8601 format is used. The resulting
string is returned.
...
...
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