twisted.test.test_logfile.RiggedDailyLogFile(logfile.DailyLogFile) class documentationtwisted.test.test_logfile
(View In Hierarchy)
| Method | toDate | Convert a unixtime to (year, month, day) localtime tuple, or return the current (year, month, day) localtime tuple. |
| Method | _openFile | Open the log file. |
Inherited from DailyLogFile:
| Method | shouldRotate | Rotate when the date has changed since last write |
| Method | suffix | Return the suffix given a (year, month, day) tuple or unixtime |
| Method | getLog | Given a unix time, return a LogReader for an old log file. |
| Method | write | Write some data to the log file |
| Method | rotate | Rotate the file and create a new one. |
| Method | __getstate__ | Undocumented |
Inherited from BaseLogFile (via DailyLogFile):
| Method | __init__ | Create a log file. |
| Class Method | fromFullPath | Construct a log file from a full file path. |
| Method | flush | Flush the file. |
| Method | close | Close the file. |
| Method | reopen | Reopen the log file. This is mainly useful if you use an external log rotation tool, which moves under your feet. |
| Method | getCurrentLog | Return a LogReader for the current log file. |