Part of twisted.python.logfile View Source View In Hierarchy
Known subclasses: twisted.python.logfile.DailyLogFile, twisted.python.logfile.LogFile
| Method | __init__ | Create a log file. | 
| Class Method | fromFullPath | Construct a log file from a full file path. | 
| Method | shouldRotate | Override with a method to that returns true if the log should be rotated. | 
| Method | __getstate__ | Undocumented | 
| Method | __setstate__ | Undocumented | 
| Method | write | Write some data to the file. | 
| Method | flush | Flush the file. | 
| Method | close | Close the file. | 
| Method | getCurrentLog | Return a LogReader for the current log file. | 
| Method | _openFile | Open the log file. | 
| Parameters | name | name of the file | 
| directory | directory holding the file | |
| defaultMode | permissions used to create the file. Default to current permissions of the file if the file exists. |