Island: Reformat docstring for setup_logging()

This commit is contained in:
Mike Salvatore 2022-07-14 10:46:04 -04:00
parent 771b9e05c2
commit bdd432fab6
1 changed files with 5 additions and 4 deletions

View File

@ -12,10 +12,11 @@ FILE_ENCODING = "utf8"
def setup_logging(data_dir: Path, log_level: str): def setup_logging(data_dir: Path, log_level: str):
""" """
Setup the logging configuration Set up the logger
:param data_dir: data directory file path
:param log_level: level to log from :param data_dir: The data directory
:return: :param log_level: A string representing threshold for the logger. Valid values are "DEBUG",
"INFO", "WARNING", "ERROR", and "CRITICAL".
""" """
logger = logging.getLogger() logger = logging.getLogger()
logger.setLevel(log_level.upper()) logger.setLevel(log_level.upper())