From a41d27a5db76f4e1989067db6b071a88efd5fa8b Mon Sep 17 00:00:00 2001 From: Alex Schofield Date: Wed, 19 Feb 2025 02:37:42 +0000 Subject: invoke debug logging using CLI argument --- cli.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli.py') diff --git a/cli.py b/cli.py index 40d8087..bf9b53f 100644 --- a/cli.py +++ b/cli.py @@ -41,6 +41,10 @@ def main(): # Parse the arguments args = parser.parse_args() + # If the user chose verbose logging, set the logger to debug + if args.verbose: + logger.setLevel("DEBUG") + # Create the CSVReader object reader = CSVReader() -- cgit v1.2.3