| Line # | Kind | Name | Docs |
|---|---|---|---|
| 28 | Function | format_failure | Format a failure into a human readable string (containing line-breaks). |
| 46 | Function | format_traceback | Format a traceback into a human readable string (containing line-breaks). |
| 68 | Function | write_to_logfile | Write data to a new tempfile in the given logdir and return the path to |
| Parameters | failure | the twisted failure that should get formatted
(type: twisted.internet.python.failure.Failure
) |
| detail | the detail-level, proxied to
twisted.internet.python.failure.Failure.printTraceback
(type: string
) | |
| Returns | the formatted traceback. (type: string ) | |
| Returns | the formatted traceback. (type: string ) | |
| Parameters | data | the data to write down (type: string or unicode ) |
| logdir | the path to the directory to log into. if None the default system temp dir is used. (type: string ) | |
| Returns | The path to the new file or None if it didn't work (type: string ) | |