diff options
author | Georg Brandl <georg@python.org> | 2008-03-02 13:41:39 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-03-02 13:41:39 (GMT) |
commit | 72780a4b0c4cf31e7e53cd4fd5d107b2e17a9f35 (patch) | |
tree | a2867a82bc53003d4a58ea567eda2637573ccdb8 /Doc | |
parent | 11ab807fff1ec244daa6a81a52359b0355c575b6 (diff) | |
download | cpython-72780a4b0c4cf31e7e53cd4fd5d107b2e17a9f35.zip cpython-72780a4b0c4cf31e7e53cd4fd5d107b2e17a9f35.tar.gz cpython-72780a4b0c4cf31e7e53cd4fd5d107b2e17a9f35.tar.bz2 |
Make clear that the constants are strings.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/logging.rst | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 2399f33..dc2555f 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1651,21 +1651,21 @@ timed intervals. You can use the *when* to specify the type of *interval*. The list of possible values is, note that they are not case sensitive: - +----------+-----------------------+ - | Value | Type of interval | - +==========+=======================+ - | S | Seconds | - +----------+-----------------------+ - | M | Minutes | - +----------+-----------------------+ - | H | Hours | - +----------+-----------------------+ - | D | Days | - +----------+-----------------------+ - | W | Week day (0=Monday) | - +----------+-----------------------+ - | midnight | Roll over at midnight | - +----------+-----------------------+ + +----------------+-----------------------+ + | Value | Type of interval | + +================+=======================+ + | ``'S'`` | Seconds | + +----------------+-----------------------+ + | ``'M'`` | Minutes | + +----------------+-----------------------+ + | ``'H'`` | Hours | + +----------------+-----------------------+ + | ``'D'`` | Days | + +----------------+-----------------------+ + | ``'W'`` | Week day (0=Monday) | + +----------------+-----------------------+ + | ``'midnight'`` | Roll over at midnight | + +----------------+-----------------------+ If *backupCount* is non-zero, the system will save old log files by appending extensions to the filename. The extensions are date-and-time based, using the |