On Sun, Aug 21, 2005 at 08:42:33AM -0600, Jp Calderone wrote:
Author: exarkun Date: Sun Aug 21 08:42:33 2005 New Revision: 14296
Modified: trunk/twisted/protocols/policies.py trunk/twisted/test/test_policies.py Log: protocol wrapper which logs everything that goes through it
Modified: trunk/twisted/protocols/policies.py ============================================================================== --- trunk/twisted/protocols/policies.py (original) +++ trunk/twisted/protocols/policies.py Sun Aug 21 08:42:33 2005 @@ -428,6 +428,69 @@ timeoutPeriod=self.timeoutPeriod)
+class TrafficLoggingProtocol(ProtocolWrapper): [...]
Hmm, this seems to be similar to twisted.manhole._inspectro.LoggingProtocol. Can they be combined? -Andrew.