diff --git a/mlat/client/output.py b/mlat/client/output.py index 1589773..94c29af 100644 --- a/mlat/client/output.py +++ b/mlat/client/output.py @@ -173,6 +173,10 @@ def __init__(self, listener, socket, s_family, s_type, addr): self.addr = addr self.writebuf = bytearray() + @staticmethod + def describe(): + return 'Basic connection' + def log(self, fmt, *args, **kwargs): log('{what} with {addr[0]}:{addr[1]}: ' + fmt, *args, what=self.describe(), addr=self.addr, **kwargs)