ess.logging.configure_workflow

ess.logging.configure_workflow

ess.logging.configure_workflow(workflow_name=None, *, display=None, **kwargs)

Configure logging for a reduction workflow.

Parameters
  • workflow_name (Optional[str], default: None) – Used as the name of the returned logger.

  • display (Optional[bool], default: None) – If True, show a scipp.logging.LogWidget in the outputs of the current cell. Defaults to True in Jupyter and False otherwise.

  • kwargs – Forwarded to ess.logging.configure(). Refer to that function for details.

Returns

Logger – A logger for use in the workflow.

Return type

logging.Logger