Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c669220 commit 940df0eCopy full SHA for 940df0e
1 file changed
library/logging.po
@@ -1645,12 +1645,15 @@ msgid ""
1645
"exception will occur. So in this case, you always need to pass the *extra* "
1646
"dictionary with these keys."
1647
msgstr ""
1648
+"如果你选择在已记录的消息中使用这些属性,则需要格外小心。 例如在上面的示例中,:class:`Formatter` 已设置了格式字符串,其在 "
1649
+"LogRecord 的属性字典中应有 'clientip' 和 'user'。 "
1650
+"如果缺少这些属性,消息将不被记录,因为会引发字符串格式化异常,你始终需要传入带有这些键的 *extra* 字典。"
1651
1652
#: ../../library/logging.rst:1020
1653
msgid ""
1654
"Logs a message with level :const:`INFO` on the root logger. The arguments "
1655
"are interpreted as for :func:`debug`."
-msgstr ""
1656
+msgstr "在根日志记录器上记录一条 :const:`INFO` 级别的消息。 参数解释同 :func:`debug`。"
1657
1658
#: ../../library/logging.rst:1026
1659
0 commit comments