Add an additional CALL logging level

This commit is contained in:
DevilXD committed 2022-12-13 22:40:30 +01:00
1 parent 91917c2e6d
commit b6bc2e11cf
3 files changed
+41 -34

No files matched your search

+3 -2
View File
@@ -29,7 +29,7 @@ if __name__ == "__main__":
from utils import resource_path
from version import __version__
from exceptions import CaptchaRequired
from constants import SELF_PATH, FILE_FORMATTER, LOG_PATH, WINDOW_TITLE
from constants import CALL, SELF_PATH, FILE_FORMATTER, LOG_PATH, WINDOW_TITLE
class Parser(argparse.ArgumentParser):
def __init__(self, *args, **kwargs) -> None:
@@ -61,7 +61,8 @@ if __name__ == "__main__":
0: logging.ERROR,
1: logging.WARNING,
2: logging.INFO,
3: logging.DEBUG,
3: CALL,
4: logging.DEBUG,
}[min(self._verbose, 3)]
@property