setup_build_logging#

maize.core.runtime.setup_build_logging(name: str, level: str | int = 20, file: Path | None = None) Logger[source]#

Sets up the build-time logging functionality, running in the main process.

Parameters:
  • name – Name of the component being logged

  • level – Logging level

  • file – File to log to

Returns:

Logger customized to a specific component

Return type:

logging.Logger