mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 13:43:40 +00:00
build-all - verbose logs to print timestamps
So it will be easier to track build times from logs
This commit is contained in:
@@ -274,6 +274,8 @@ def gather_dependencies(dep: str) -> "Generator[str]":
|
|||||||
|
|
||||||
if "v" in flags:
|
if "v" in flags:
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
|
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
|
||||||
|
ch.setFormatter(formatter)
|
||||||
else:
|
else:
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user