apptools.logger.log_queue_handler module

class apptools.logger.log_queue_handler.LogQueueHandler(size=1000)[source]

Bases: Handler

Buffers up the log messages so that we can display them later. This is important on startup when log messages are generated before the ui has started. By putting them in this queue we can display them once the ui is ready.

emit(record)[source]

Actually this is more like an enqueue than an emit().

get()[source]
has_new_records()[source]
reset()[source]