Skip to content

Commit

Permalink
configure logging level in main according to passed in verbose parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuaibi7 committed Dec 21, 2024
1 parent 61c4ec8 commit 810640a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/dialect/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@
identify_pairwise_interactions,
)

configure_logging()


# TODO: add option for verbose logging
def main():
logging.info("Running DIALECT CLI")

parser = build_argument_parser()
args = parser.parse_args()
configure_logging(args.verbose)
# TODO: Add TODO statements to all files requiring logging changes

logging.info("Running DIALECT CLI")
logging.info(f"Arguments: {args}")
logging.info(f"Command: {args.command}")

Expand Down

0 comments on commit 810640a

Please sign in to comment.