1
0

logging: '-V' cli option can blacklist/whitelist classes with short names

for example, '-V ni' will whitelist the 'Network' and 'Interface' classes
'-V ^ni' will blacklist those instead
This commit is contained in:
SomberNight
2019-05-07 21:07:18 +02:00
parent 92260a798a
commit 104b8804f7
7 changed files with 95 additions and 7 deletions

View File

@@ -179,6 +179,8 @@ def serialize_server(host: str, port: Union[str, int], protocol: str) -> str:
class Interface(Logger):
LOGGING_SHORTCUT = 'i'
def __init__(self, network: 'Network', server: str, proxy: Optional[dict]):
self.ready = asyncio.Future()
self.got_disconnected = asyncio.Future()