scipp.logging

scipp.logging

Utilities for managing scipp’s logger and log widget.

See the https://scipp.github.io/reference/logging.html for an overview.

Functions

clear_log_widget()

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

display_logs()

Display the log widget associated with the scipp logger.

get_log_widget()

Return the log widget used by the scipp logger.

get_logger()

Return the global logger used by scipp.

get_widget_handler()

Return the widget handler installed in the scipp logger.

make_widget_handler()

Create a new widget log handler.

Classes

LogWidget(**kwargs)

Widget that displays log messages in a table.

WidgetHandler(level, widget)

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

WidgetLogRecord(name, levelname, time_stamp, ...)

Preprocessed data for display in LogWidget.