Explain INFO messages are logged only by default
This commit is contained in:
parent
d81e34d951
commit
9f83fa80a8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user