ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Queue log records and observe sink delivery or cleanup failures.

Class _Listener Drain queued records while retaining and observing delivery failures.
Class BoundedQueueHandler Deliver records to an owned sink through a bounded background queue.
Exception LoggingDeliveryError Signal a synchronous or background log-delivery failure.
Function _raise_sink_error Raise a delivery error for the active sink exception.
Function observe_sink_error Observe an active sink exception before invoking its original callback.
def _raise_sink_error(_record: logging.LogRecord): (source)

Raise a delivery error for the active sink exception.

Parameters
_record:logging.LogRecordFailed record, accepted for handleError compatibility.
Returns
NoneNever return normally.
Raises
LoggingDeliveryErrorAlways, with the active sink exception as its cause when present.
def observe_sink_error(record: logging.LogRecord, *, app: object, original: Callable[[logging.LogRecord], None]): (source)

Observe an active sink exception before invoking its original callback.

Parameters
record:logging.LogRecordRecord passed to the sink's original error callback.
app:objectApplication context supplied to failure observation.
original:collections.abc.CallableOriginal error callback receiving the record after observation.
Returns
NoneThis function does not return a value.
Raises
LoggingDeliveryErrorIf a sink error occurs while reporting another application failure.