MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / ensure_logger

Function ensure_logger

src/ifcpatch/ifcpatch/__init__.py:62–65  ·  view source on GitHub ↗
(logger: Union[logging.Logger, None] = None)

Source from the content-addressed store, hash-verified

60
61
62def ensure_logger(logger: Union[logging.Logger, None] = None) -> logging.Logger:
63 if logger is not None:
64 return logger
65 return logging.getLogger("IFCPatch")
66
67
68def execute(args: ArgumentsDict) -> Union[ifcopenshell.file, str, None]:

Callers 2

__init__Method · 0.85
executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected