Go to the latest version of this document.
t.p.l.err(_stuff=None, _why=None, **kw) : function documentation
Part of twisted.python.log
Write a failure to the log.
_why parameters use an
underscore prefix to lessen the chance of colliding with a keyword argument
the application wishes to pass. It is intended that they be supplied with
arguments passed positionally, not by keyword.
|Parameters||_stuff||The failure to log. If |
None a new
Failure will be
created from the current exception state. If
_stuff is an
Exception instance it will be wrapped in a
|_why||The source of this failure. This will be logged along with
_stuff and should describe the context in which the failure
API Documentation for Twisted, generated by pydoctor at 2013-04-03 11:20:05.