Process the log in another thread.
Definition at line 22 of file logging.py.
◆ close()
| None homeassistant.util.logging.HomeAssistantQueueHandler.close |
( |
|
self | ) |
|
Tidy up any resources used by the handler.
This adds shutdown of the QueueListener
Definition at line 44 of file logging.py.
◆ handle()
| Any homeassistant.util.logging.HomeAssistantQueueHandler.handle |
( |
|
self, |
|
|
logging.LogRecord |
record |
|
) |
| |
Conditionally emit the specified logging record.
Depending on which filters have been added to the handler, push the new
records onto the backing Queue.
The default python logger Handler acquires a lock
in the parent class which we do not need as
SimpleQueue is already thread safe.
See https://bugs.python.org/issue24645
Definition at line 27 of file logging.py.
◆ listener
| homeassistant.util.logging.HomeAssistantQueueHandler.listener |
◆ None
| homeassistant.util.logging.HomeAssistantQueueHandler.None |
|
static |
The documentation for this class was generated from the following file: