Add comment for serve_tcp
This commit is contained in:
parent
857bb34f4e
commit
89338914d3
|
@ -38,6 +38,7 @@ class TCPListener(IListener):
|
|||
host: str,
|
||||
task_status: TaskStatus[Sequence[trio.SocketListener]] = None,
|
||||
) -> None:
|
||||
"""Just a proxy function to add logging here."""
|
||||
logger.debug("serve_tcp %s %s", host, port)
|
||||
await trio.serve_tcp(handler, port, host=host, task_status=task_status)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user