Enable logging with trace capability

This commit is contained in:
Christian Wolf 2022-11-26 08:37:49 +01:00
parent a26444e299
commit 80fdfdc786

View File

@ -17,7 +17,8 @@ class Cli:
0: logging.ERROR, 0: logging.ERROR,
1: logging.WARN, 1: logging.WARN,
2: logging.INFO, 2: logging.INFO,
3: logging.DEBUG 3: logging.DEBUG,
4: 5,
} }
logLevel = map.get(self.__args.verbose, logging.DEBUG) logLevel = map.get(self.__args.verbose, logging.DEBUG)
l.setLevel(logLevel) l.setLevel(logLevel)