mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +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:
|
||||
logger.setLevel(logging.DEBUG)
|
||||
formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
|
||||
ch.setFormatter(formatter)
|
||||
else:
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user