(self, android_log_write)
| 158 | |
| 159 | class Logcat: |
| 160 | def __init__(self, android_log_write): |
| 161 | self.android_log_write = android_log_write |
| 162 | self._lock = RLock() |
| 163 | self._bucket_level = 0 |
| 164 | self._prev_write_time = time() |
| 165 | |
| 166 | def write(self, prio, tag, message): |
| 167 | # Encode null bytes using "modified UTF-8" to avoid them truncating the |