aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/tcp.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/tcp.py')
-rw-r--r--netlib/tcp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/netlib/tcp.py b/netlib/tcp.py
index f6179faa..2ebfae96 100644
--- a/netlib/tcp.py
+++ b/netlib/tcp.py
@@ -126,6 +126,9 @@ class _FileLike(object):
if self.is_logging():
self._log.append(v)
+ def clear_log(self):
+ self._log = []
+
def reset_timestamps(self):
self.first_byte_timestamp = None