Fix docstring n get_extension_logger

This commit is contained in:
Col Crunch 2020-05-26 13:25:48 -04:00
parent 6c275d4cd2
commit 530716d458

View File

@ -14,8 +14,7 @@ def get_extension_logger(name):
Takes the name of a plugin/extension and generates a child logger of the extensions logger Takes the name of a plugin/extension and generates a child logger of the extensions logger
to be used by the extension to log events to the extensions logger. to be used by the extension to log events to the extensions logger.
The logging level is decided by whether or not DEBUG is set to true in the project settings. If The logging level is determined by the level defined for the parent logger.
DEBUG is set to false, then the logging level is set to INFO.
:param: name: the name of the extension doing the logging :param: name: the name of the extension doing the logging
:return: an extensions child logger :return: an extensions child logger