def write(self, s):
                    self.buffer += s
                    if '\n' in self.buffer:
                        output, self.buffer = self.buffer.split('\n', 1)
                        syslog.syslog(output)
dataset/ETHPy150Open pyserial/pyserial/examples/port_publisher.py/WriteToSysLog.write/original