@@ -263,7 +263,7 @@ msgid ""
263
263
"Python interpreter, and don't just continue from the session described "
264
264
"above::"
265
265
msgstr ""
266
- "logging イベントをファイルに記録するのは非常によくあるパターンです。なので次はこれを見て行きましょう 。以下のサンプルを試すときは Python "
266
+ "logging イベントをファイルに記録するのは非常によくあるパターンなので次はこれを見て行きましょう 。以下のサンプルを試すときは Python "
267
267
"インタプリタを新しく起動して、上のセッションの続きにならないようにしてください::"
268
268
269
269
#: ../../howto/logging.rst:136
@@ -284,22 +284,22 @@ msgstr ""
284
284
#: ../../howto/logging.rst:149
285
285
msgid ""
286
286
"If you want to set the logging level from a command-line option such as:"
287
- msgstr "コマンドラインのオプションからログレベルを変更した場合、以下の様に入力してください :"
287
+ msgstr "次のようなコマンドラインオプションでログレベルを設定したいと考え :"
288
288
289
289
#: ../../howto/logging.rst:155
290
290
msgid ""
291
291
"and you have the value of the parameter passed for ``--log`` in some "
292
292
"variable *loglevel*, you can use::"
293
- msgstr "``--log`` に渡されたパラメタの値をある変数 *loglevel* に保存すれば:: "
293
+ msgstr "``--log`` に渡されたパラメータの値を変数 *loglevel* に保存しているとしたら、 "
294
294
295
295
#: ../../howto/logging.rst:160
296
296
msgid ""
297
297
"to get the value which you'll pass to :func:`basicConfig` via the *level* "
298
298
"argument. You may want to error check any user input value, perhaps as in "
299
299
"the following example::"
300
300
msgstr ""
301
- "を使い、 *level* 引数を通して :func:`basicConfig` "
302
- "に渡すべき値を得られます。ユーザの入力値をすべてエラーチェックしたいこともあり、以下のようになるかもしれません ::"
301
+ "というコードを使い、 :func:`basicConfig` の *level* 引数に渡すべき値が得られます。\n "
302
+ "ユーザの入力値をすべてエラーチェックしたくなり、次の例のように実装することもあるでしょう ::"
303
303
304
304
#: ../../howto/logging.rst:172
305
305
msgid ""
@@ -308,7 +308,7 @@ msgid ""
308
308
"configuration facility, only the first call will actually do anything: "
309
309
"subsequent calls are effectively no-ops."
310
310
msgstr ""
311
- ":func:`basicConfig` は、 :func:`debug` や :func:`info` を最初に呼び出す *前* "
311
+ ":func:`basicConfig` は、 :func:`debug` や :func:`info` などの呼び出しよりも *前* "
312
312
"に呼び出さなければなりません。これは、一度限りの単純な設定機能を意図しているので、実際に作用するのは最初の呼び出しのみで、続く呼び出しの効果は no-"
313
313
"op です。"
314
314
@@ -321,13 +321,13 @@ msgid ""
321
321
msgstr ""
322
322
"上記のスクリプトを複数回実行すると、2 回目以降の実行によるメッセージは *example.log* "
323
323
"に加えられます。以前の実行によるメッセージを記憶せず、実行ごとに新たに始めたいなら、上記の例での呼び出しを次のように変え、*filemode* "
324
- "引数を指定することができます ::"
324
+ "引数を指定する方法がとれます ::"
325
325
326
326
#: ../../howto/logging.rst:184
327
327
msgid ""
328
328
"The output will be the same as before, but the log file is no longer "
329
329
"appended to, so the messages from earlier runs are lost."
330
- msgstr "出力は先ほどと同じになりますが、ログファイルは追記されるのではなくなり 、以前の実行によるメッセージは失われます。"
330
+ msgstr "出力は先ほどと同じになりますが、ログファイルは追記されなくなり 、以前の実行によるメッセージは失われます。"
331
331
332
332
#: ../../howto/logging.rst:189
333
333
msgid "Logging from multiple modules"
0 commit comments