Logger
This logger feature can write message asynchronously just changing the value of
a Queue
object.
-
class
ubtdriver.tools.logger.
WidgetLogger
(widget)[source]
Bases: object
Asynchronous logger.
-
__init__
(widget)[source]
Connect the widget with the queue processor.
Parameters: | widget (Text (TkInter)) – Logs will be writed in this widget. |
-
update_log
(q)[source]
Thread that check preridically the queue content.
Parameters: | q (Queue object) – The content of this queue will be writed to Text widget and cleaned after. |