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

Skip to content

Commit 650b7c7

Browse files
[po] auto sync
1 parent 375fa9d commit 650b7c7

2 files changed

Lines changed: 6817 additions & 6809 deletions

File tree

howto/logging-cookbook.po

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,8 @@ msgid ""
387387
"had passed an 'extra' keyword argument in the call to the adapter, it will "
388388
"be silently overwritten."
389389
msgstr ""
390-
":class:`LoggerAdapter` 的 :meth:`~LoggerAdapter.process` 方法是将上下文信息添加到日志的输出中。 "
391-
"它传入日志消息和日志调用的关键字参数,并传回(隐式的)这些修改后的内容去调用底层的日志记录器。此方法的默认参数只是一个消息字段,但留有一个 "
392-
"'extra' 的字段作为关键字参数传给构造器。当然,如果你在调用适配器时传入了一个 'extra' 字段的参数,它会被静默覆盖。"
390+
":class:`LoggerAdapter` 的 :meth:`~LoggerAdapter.process` "
391+
"方法用于将上下文信息添加到日志的输出中去。其入参为日志调用的信息和关键字参数,并将(可能)修改后的入参值传回,以供底层的日志对象调用。该方法的默认实现代码不会对信息做改动,而只是在关键字参数中增加一个键为“extra”的字段,其值即为传入构造函数的字典类对象。当然,若是在调用时传入了一个名为“extra”的关键字参数,则传入值会被悄无声息地覆盖掉。"
393392

394393
#: ../../howto/logging-cookbook.rst:599
395394
msgid ""

0 commit comments

Comments
 (0)