Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 366df91

Browse files
[po] auto sync
1 parent 5ebdd77 commit 366df91

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

howto/logging-cookbook.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,9 +1530,10 @@ msgid ""
15301530
":class:`~logging.StreamHandler` which writes to ``sys.stderr``, "
15311531
"``logging.ERROR`` and ``100`` respectively."
15321532
msgstr ""
1533-
"脚本只是使用了一个装饰器来装饰 "
1534-
"``foo``,这个装饰器将记录执行所需的条件。装饰器使用一个记录器作为参数,并在调用被装饰的函数期间附加一个内存处理程序。装饰器可以使用目标处理程序、记录级别和缓冲区的容量(缓冲记录的数量)来附加参数。这些参数分别默认为写入``sys.stderr``"
1535-
" 的 :class:`~logging.StreamHandler` , ``logging.ERROR`` 和 ``100``。"
1533+
"这里只是为 ``foo`` 加了个装饰器 ,进行有条件的日志记录。该装饰器以日志对象为参数,并在调用被装饰函数期间增加一个内存处理 "
1534+
"handler。该装饰器的参数还可以加上目标 handler、日志级别和缓冲区的容量(可缓存的日志条数量)。这些参数的默认值分别是写入 "
1535+
"``sys.stderr`` 的 :class:`~logging.StreamHandler` 、 ``logging.ERROR`` 和 "
1536+
"``100``。"
15361537

15371538
#: ../../howto/logging-cookbook.rst:2308
15381539
msgid "Here's the script::"

0 commit comments

Comments
 (0)