class documentation

class LogReader:

Constructor: LogReader(name)

View In Hierarchy

Read from a log file.

Method __init__ Open the log file for reading.
Method close Undocumented
Method readLines Read a list of lines from the log file.
Instance Variable _file Undocumented
def __init__(self, name):

Open the log file for reading.

The comments about binary-mode for BaseLogFile._openFile also apply here.

def close(self):

Undocumented

def readLines(self, lines=10):

Read a list of lines from the log file.

This doesn't returns all of the files lines - call it multiple times.

_file =

Undocumented