disnake

Форк
0
75 строк · 3.4 Кб
1

2
msgid ""
3
msgstr ""
4
"Project-Id-Version:  discordpy\n"
5
"Report-Msgid-Bugs-To: \n"
6
"POT-Creation-Date: 2020-10-23 22:41-0400\n"
7
"PO-Revision-Date: 2020-10-24 02:41+0000\n"
8
"Last-Translator: \n"
9
"Language: ja_JP\n"
10
"Language-Team: Japanese\n"
11
"Plural-Forms: nplurals=1; plural=0\n"
12
"MIME-Version: 1.0\n"
13
"Content-Type: text/plain; charset=utf-8\n"
14
"Content-Transfer-Encoding: 8bit\n"
15
"Generated-By: Babel 2.5.3\n"
16

17
#: ../../logging.rst:5
18
msgid "Setting Up Logging"
19
msgstr "ログの設定"
20

21
#: ../../logging.rst:7
22
msgid ""
23
"*disnake* logs errors and debug information via the :mod:`logging` "
24
"python module. It is strongly recommended that the logging module is "
25
"configured, as no errors or warnings will be output if it is not set up. "
26
"Configuration of the ``logging`` module can be as simple as::"
27
msgstr ""
28
"*disnake* はPythonの :mod:`logging` "
29
"モジュールを介してエラーやデバッグの情報を記録します。loggingモジュールが設定されていない場合は、エラーや警告が出力されないため、設定するとを強くおすすめします。loggingモジュールの設定は下記手順で簡単に実装が可能です。"
30

31
#: ../../logging.rst:16
32
#, fuzzy
33
msgid ""
34
"Placed at the start of the application. This will output the logs from "
35
"disnake as well as other libraries that use the ``logging`` module "
36
"directly to the console."
37
msgstr ""
38
"アプリケーションの始めにこれを書き加えるだけです。これはdiscordからのログを ``logging`` "
39
"モジュールを用いた他のライブラリ同様、コンソールに出力します。"
40

41
#: ../../logging.rst:20
42
#, fuzzy
43
msgid ""
44
"The optional ``level`` argument specifies what level of events to log out"
45
" and can be any of ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, and "
46
"``DEBUG`` and if not specified defaults to ``WARNING``."
47
msgstr ""
48
"オプションである ``level`` の引数は出力するイベントのレベルを指定するためのもので、 ``CRITICAL``, ``ERROR``, "
49
"``WARNING``, ``INFO`` そして ``DEBUG`` を指定することが可能です。指定されていない場合はデフォルトである "
50
"``WARNING`` に設定されます。"
51

52
#: ../../logging.rst:24
53
#, fuzzy
54
msgid ""
55
"More advanced setups are possible with the :mod:`logging` module. For "
56
"example to write the logs to a file called ``disnake.log`` instead of "
57
"outputting them to the console the following snippet can be used::"
58
msgstr ""
59
"また、 :mod:`logging` モジュールでは更に高度な設定が可能です。たとえば、コンソールへ出力するのではなく、 "
60
"``disnake.log`` というファイルにログを出力するには、以下のスニペットが利用できます。"
61

62
#: ../../logging.rst:37
63
#, fuzzy
64
msgid ""
65
"This is recommended, especially at verbose levels such as ``INFO`` and "
66
"``DEBUG``, as there are a lot of events logged and it would clog the "
67
"stdout of your program."
68
msgstr ""
69
"特に、 ``INFO`` や ``DEBUG`` "
70
"といった冗長なイベントレベルを設定している場合、プログラムの標準出力をつまらせてしまう原因になるため、ファイルへの出力が推奨されます。"
71

72
#: ../../logging.rst:43
73
msgid ""
74
"For more information, check the documentation and tutorial of the "
75
":mod:`logging` module."
76
msgstr "詳細は、:mod:`logging` モジュールのドキュメントを参照してください。"
77

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.