mirror of
https://github.com/pommi/python-itho-wpu.git
synced 2025-07-13 01:45:44 +02:00
fix(itho_i2c): make loglevel in itho_i2c module adjustable
This commit is contained in:
@ -434,6 +434,7 @@ def main():
|
||||
|
||||
if args.loglevel:
|
||||
logger.setLevel(args.loglevel.upper())
|
||||
logging.getLogger("itho_i2c").setLevel(args.loglevel.upper())
|
||||
|
||||
if args.timestamp:
|
||||
stdout_log_handler.setFormatter(
|
||||
|
Reference in New Issue
Block a user