downstream: logger: reuse logger_or_root, dedupe optional-logger-arg pattern

This commit is contained in:
Andrej730
2026-07-22 16:14:48 +05:00
parent d45174066f
commit 32f2dfd294
5 changed files with 72 additions and 17 deletions
@@ -217,6 +217,7 @@ def test_iterator():
def test_logging():
assert ifcopenshell.logger
logger = ifcopenshell.logger()
logger.OutputFormat(logger.FMT_INMEMORY)
settings = ifcopenshell.geom.settings()