logging#

Rich console utilities.

This module contains classes and functions that OM uses to improve and augment its terminal console output, using the Rich python library.

class RichHandlerWithAggregation(*, recurring_msg_emit_interval=100, **kwargs)#

Initializes the instance - basically setting the formatter to None and the filter list to empty.

Parameters:
  • recurring_msg_emit_interval (int)

  • kwargs (Any)

format(record)#

Format the specified record.

If a formatter is set, use it. Otherwise, use the default formatter for the module.

Parameters:

record (LogRecord)

Return type:

str

emit(record)#

Invoked by logging.

Parameters:

record (LogRecord)

Return type:

None