@@ -252,8 +252,8 @@ msgid ""
252252"handler classes, which would eat up one thread per handler for no particular"
253253" benefit."
254254msgstr ""
255- "使用一个单独的类 :class:`QueueListener` "
256- "优点是可以使用同一个实例去服务于多个``QueueHandlers``。这样会更节省资源,否则每个处理程序都占用一个线程没有任何益处。"
255+ "使用一个单独的类 "
256+ ":class:`QueueListener` 优点是可以使用同一个实例去服务于多个``QueueHandlers``。这样会更节省资源,否则每个处理程序都占用一个线程没有任何益处。"
257257
258258#: ../../howto/logging-cookbook.rst:370
259259msgid "An example of using these two classes follows (imports omitted)::"
@@ -949,8 +949,9 @@ msgstr ""
949949#: ../../howto/logging-cookbook.rst:1426
950950msgid ""
951951"For more information about this configuration, you can see the `relevant "
952- "section <https://docs.djangoproject.com/en/stable/topics/logging"
953- "/#configuring-logging>`_ of the Django documentation."
952+ "section "
953+ "<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
954+ "logging>`_ of the Django documentation."
954955msgstr ""
955956"有关本配置的更多信息,请参阅 Django 文档的 `有关章节 "
956957"<https://docs.djangoproject.com/en/stable/topics/logging/#configuring-"
@@ -1302,9 +1303,9 @@ msgstr "自定义信息对象的使用"
13021303#: ../../howto/logging-cookbook.rst:2013
13031304msgid ""
13041305"There is another, perhaps simpler way that you can use {}- and $- formatting"
1305- " to construct your individual log messages. You may recall (from :ref "
1306- ":`arbitrary-object-messages`) that when logging you can use an arbitrary "
1307- "object as a message format string, and that the logging package will call "
1306+ " to construct your individual log messages. You may recall (from "
1307+ ":ref: `arbitrary-object-messages`) that when logging you can use an arbitrary"
1308+ " object as a message format string, and that the logging package will call "
13081309":func:`str` on that object to get the actual format string. Consider the "
13091310"following two classes::"
13101311msgstr ""
@@ -1411,8 +1412,8 @@ msgid ""
14111412"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14121413"above."
14131414msgstr ""
1414- "与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref "
1415- ":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
1415+ "与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 "
1416+ ":ref: `logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14161417
14171418#: ../../howto/logging-cookbook.rst:2164
14181419msgid "Customized exception formatting"
0 commit comments