class twisted.python.logfile.LogReader: (source)
Read from a log file.
Method | __init__ | Open the log file for reading. |
Method | readLines | Read a list of lines from the log file. |
Method | close | Undocumented |
Instance Variable | _file | Undocumented |
Open the log file for reading.
The comments about binary-mode for BaseLogFile._openFile
also apply here.
Read a list of lines from the log file.
This doesn't returns all of the files lines - call it multiple times.