66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2015-2017, Rapptz
|
|
# This file is distributed under the same license as the discord.py package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: discord.py 1.0.0a\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2018-07-31 14:21-0400\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Generated-By: Babel 2.5.3\n"
|
|
|
|
#: ../../logging.rst:5
|
|
msgid "Setting Up Logging"
|
|
msgstr ""
|
|
|
|
#: ../../logging.rst:7
|
|
msgid ""
|
|
"*discord.py* logs errors and debug information via the :mod:`logging` "
|
|
"python module. It is strongly recommended that the logging module is "
|
|
"configured, as no errors or warnings will be output if it is not set up. "
|
|
"Configuration of the ``logging`` module can be as simple as::"
|
|
msgstr ""
|
|
|
|
#: ../../logging.rst:16
|
|
msgid ""
|
|
"Placed at the start of the application. This will output the logs from "
|
|
"discord as well as other libraries that uses the ``logging`` module "
|
|
"directly to the console."
|
|
msgstr ""
|
|
|
|
#: ../../logging.rst:20
|
|
msgid ""
|
|
"The optional ``level`` argument specifies what level of events to log out"
|
|
" and can any of ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, and "
|
|
"``DEBUG`` and if not specified defaults to ``WARNING``."
|
|
msgstr ""
|
|
|
|
#: ../../logging.rst:24
|
|
msgid ""
|
|
"More advance setups are possible with the :mod:`logging` module. To for "
|
|
"example write the logs to a file called ``discord.log`` instead of "
|
|
"outputting them to to the console the following snippet can be used::"
|
|
msgstr ""
|
|
|
|
#: ../../logging.rst:37
|
|
msgid ""
|
|
"This is recommended, especially at verbose levels such as ``INFO``, and "
|
|
"``DEBUG`` as there are a lot of events logged and it would clog the "
|
|
"stdout of your program."
|
|
msgstr ""
|
|
|
|
#: ../../logging.rst:43
|
|
msgid ""
|
|
"For more information, check the documentation and tutorial of the "
|
|
":mod:`logging` module."
|
|
msgstr ""
|
|
|