Island: Reformat docstring for setup_logging()
This commit is contained in:
parent
771b9e05c2
commit
bdd432fab6
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue