ring_buffer_logging_handler#

tradeexecutor.utils.ring_buffer_logging_handler module.

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.