Trees | Indices | Help |
|
---|
|
A LogFile keeps all of its contents on disk, in a non-pickle format to
which new entries can easily be appended. The file on disk has a name
like 12-log-compile-output, under the Builder's directory. The actual
filename is generated (before the LogFile is created) by BuildStatus.generateLogfileName
.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Instance Variables | |
length = 0 length of the data in the logfile (sum of chunk sizes; not the length of the on-disk encoding) |
Method Details |
|
Get the base (uncompressed) filename for this log file.
|
Return true if this logfile's contents are available. For a newly created logfile, this is always true, but for a LogFile instance that has been persisted, the logfiles themselves may have been deleted, in which case this method will return False.
|
Get this logfile's name
|
Get the BuildStepStatus instance containing this logfile
|
Return true if this logfile is finished (that is, if it will not receive any additional data
|
Get an open file object for this log. The file may also be in use for writing, so it should not be closed by the caller, and the caller should not rely on its file position remaining constant between asynchronous code segments.
|
Add an entry to the logfile. The This method cannot be called after the logfile is finished.
|
Shortcut to add stdout text to the logfile
|
Shortcut to add stderr text to the logfile
|
Shortcut to add header text to the logfile
|
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:45 2012 | http://epydoc.sourceforge.net |