ess.logging.configure_workflow#

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

Configure logging for a reduction workflow.

Configures loggers, logs a greeting message, sets up a logger for a workflow, and optionally creates and displays a log widget.

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.

See also

ess.logging.configure

General logging setup.