scipp.logging

Utilities for managing scipp’s logger and log widget.

Functions

clear_log_widget()

Remove the current output of the log widget of the global scipp logger if there is one.

display_logs()

Display the log widget associated with the global scipp logger.

get_log_widget()

Return the log widget used by the global scipp logger.

get_logger()

Return the global logger used by scipp.

get_widget_handler()

Return the widget handler installed in the global scipp logger.

make_log_widget()

Create and return a new LogWidget for use with WidgetHandler in a Jupyter notebook.

make_stream_handler()

Make a new StreamHandler with default setup for scipp.

make_widget_handler()

Create a new widget log handler.

Classes

WidgetHandler(level, widget)

Logging handler that sends messages to a LogWidget for display in Jupyter notebooks.