openthread / silk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add logic to record the info read from thread using logger in process.py

priyankaCh22 opened this issue · comments

All the information read from the thread should be logged
def read(self, process):
while not self.stop_thread.is_set():
output = process.stdout.readline()
#TODO: We should add the logic to record the log info via logger instead of using print
print(output.strip())

https://github.com/openthread/silk/silk/utils/process.py#L63