Explain INFO messages are logged only by default

This commit is contained in:
Eric Torres 2019-11-08 01:27:36 -08:00
parent d81e34d951
commit 9f83fa80a8

View File

@ -17,6 +17,8 @@ CONSOLE_FORMATTER = logging.Formatter(_CONSOLE_FORMAT)
def retrieve_console_handlers(*, debug=False):
"""Retrieve a pair of logging handlers configured for console output.
By default, logging.INFO messages are logged.
:param debug: should logging.DEBUG level messages be recorded? (default: ``False``)
:type debug: bool
:return: tuple of ``logging.StreamHandler``s for stdout and stderr