@@ -20,7 +20,7 @@ msgid ""
20
20
msgstr ""
21
21
"Project-Id-Version : Python 3.13\n "
22
22
"Report-Msgid-Bugs-To : \n "
23
- "POT-Creation-Date : 2024-11-08 14:16 +0000\n "
23
+ "POT-Creation-Date : 2024-11-15 14:18 +0000\n "
24
24
"PO-Revision-Date : 2021-06-28 01:09+0000\n "
25
25
"Last-Translator : Takeshi Nakazato, 2024\n "
26
26
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -2238,6 +2238,11 @@ msgid ""
2238
2238
"is recommended that ``__name__`` be used unless you have a specific reason "
2239
2239
"for not doing that, as mentioned in :ref:`logger`."
2240
2240
msgstr ""
2241
+ "指定された名前のロガーを返します。名前が ``None`` であれば、ロガーの階層構造"
2242
+ "におけるルートロガーを返します。名前を指定する場合は、典型的には *'a'*、 *'a."
2243
+ "b'* または *'a.b.c.d'* のようなドット区切りの階層的な名前にします。名前の付け"
2244
+ "方は完全にログ機能を使う開発者次第ですが、 :ref:`logger` で言及されている通"
2245
+ "り、特に理由がなければ ``__name__`` を使うことが推奨されます。"
2241
2246
2242
2247
#: ../../library/logging.rst:1163
2243
2248
msgid ""
@@ -2268,6 +2273,8 @@ msgid ""
2268
2273
"class MyLogger(logging.getLoggerClass()):\n"
2269
2274
" # ... override behaviour here"
2270
2275
msgstr ""
2276
+ "class MyLogger(logging.getLoggerClass()):\n"
2277
+ " # ... override behaviour here"
2271
2278
2272
2279
#: ../../library/logging.rst:1181
2273
2280
msgid "Return a callable which is used to create a :class:`LogRecord`."
@@ -2297,12 +2304,16 @@ msgid ""
2297
2304
"logger. The handling of the arguments is in every way identical to what is "
2298
2305
"described in that method."
2299
2306
msgstr ""
2307
+ "ルートロガーの :meth:`Logger.debug` メソッドを呼び出す便利関数です。引数の取"
2308
+ "り扱いはあらゆる点で当該メソッドと同じです。"
2300
2309
2301
2310
#: ../../library/logging.rst:1197
2302
2311
msgid ""
2303
2312
"The only difference is that if the root logger has no handlers, then :func:"
2304
2313
"`basicConfig` is called, prior to calling ``debug`` on the root logger."
2305
2314
msgstr ""
2315
+ "唯一の違いはルートロガーがハンドラを持たない場合で、この場合はルートロガーの "
2316
+ "``debug`` メソッドを呼び出す前に :func:`basicConfig` が呼ばれます。"
2306
2317
2307
2318
#: ../../library/logging.rst:1200
2308
2319
msgid ""
@@ -2313,18 +2324,28 @@ msgid ""
2313
2324
"and calling :meth:`Logger.debug` (or other level-specific methods) on it, as "
2314
2325
"described at the beginnning of this documentation."
2315
2326
msgstr ""
2327
+ "非常に短いスクリプトや ``logging`` の機能についての簡単なデモに対しては、 "
2328
+ "``debug`` やその他のモジュールレベル関数は便利でしょう。しかしながら、ほとん"
2329
+ "どのプログラムはロギングの設定を慎重かつ明示的に制御したいはずです。したがっ"
2330
+ "て、このドキュメントの最初に書かれているとおり、モジュールレベルのロガーを生"
2331
+ "成してそのロガーに対する :meth:`Logger.debug` メソッド (または他のログレベル"
2332
+ "固有のメソッド) を呼び出す方を好むでしょう。"
2316
2333
2317
2334
#: ../../library/logging.rst:1210
2318
2335
msgid ""
2319
2336
"Logs a message with level :const:`INFO` on the root logger. The arguments "
2320
2337
"and behavior are otherwise the same as for :func:`debug`."
2321
2338
msgstr ""
2339
+ "ルートロガーに対してログレベル :const:`INFO` でメッセージを記録します。引数と"
2340
+ "振る舞いは、ログレベルを除けば :func:`debug` と同じです。"
2322
2341
2323
2342
#: ../../library/logging.rst:1216
2324
2343
msgid ""
2325
2344
"Logs a message with level :const:`WARNING` on the root logger. The arguments "
2326
2345
"and behavior are otherwise the same as for :func:`debug`."
2327
2346
msgstr ""
2347
+ "ルートロガーに対してログレベル :const:`WARNING` でメッセージを記録します。引"
2348
+ "数と振る舞いは、ログレベルを除けば :func:`debug` と同じです。"
2328
2349
2329
2350
#: ../../library/logging.rst:1219
2330
2351
msgid ""
0 commit comments