()
| 180 | |
| 181 | |
| 182 | def _start_writer_thread(): |
| 183 | global _writer_thread, _writer_running |
| 184 | |
| 185 | if _writer_thread is None or not _writer_thread.is_alive(): |
| 186 | _writer_running = True |
| 187 | _writer_thread = threading.Thread(target=_log_writer_worker, daemon=True, name="LogWriter") |
| 188 | _writer_thread.start() |
| 189 | |
| 190 | |
| 191 | def _stop_writer_thread(): |