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

@@ -260,6 +260,8 @@ class DebugMem(ThreadJob):
class DaemonThread(threading.Thread, Logger):
""" daemon thread that terminates cleanly """
LOGGING_SHORTCUT = 'd'
def __init__(self):
threading.Thread.__init__(self)
Logger.__init__(self)