c.t.l.LoggingProxy(xmlrpc.Proxy) : class documentation

Part of canonical.twistedsupport.loggingsupport View In Hierarchy

A proxy that logs requests and the corresponding responses.
Method __init__ Contstruct a LoggingProxy.
Method callRemote See xmlrpc.Proxy.callRemote.
def __init__(self, url, logger, level=logging.INFO):
Contstruct a LoggingProxy.
ParametersurlThe URL to which to post method calls.
loggerThe logger to log requests and responses to.
levelThe log level at which to log requests and responses.
def callRemote(self, method, *args):
See xmlrpc.Proxy.callRemote.

In addition to the superclass' behavior, we log the call and its result.

API Documentation for Launchpad, generated by pydoctor at 2010-03-21 00:00:03.