ring_buffer_logging_handler#

tradeexecutor.utils.ring_buffer_logging_handler Python module in Trading Strategy framework.

Module description#

A Python logger that keeps logs in a ring buffer in-memory.

Allows any process to fetch the latest logs from the process itself.

Classes#

ExportedRecord

One exported entry in the ring buffer logs.

RingBufferHandler

Keep N log entries in the memory.