'Read a list of lines from the log file.
This doesn\'t returns all of the files lines - call it multiple times.'

def readLines(self, lines=10):

    result = []
    for i in range(lines):
        line = self._file.readline()
        if (not line):
            break
        result.append(line)
    return result
