def METHOD_NAME(self, lines):
    # used by subclasses to add lines that are already appropriately
    # formatted for the log type, and newline-terminated
    assert lines[-1] == '\n'
    assert not self.finished
    yield self.lock.run(lambda: self.master.data.updates.appendLog(self.logid, lines))