Skip to content

Commit

Permalink
feat: add info debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaclynpqc committed Nov 14, 2023
1 parent a1811d8 commit 4acaa04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chasten/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def analyze( # noqa: PLR0912, PLR0913, PLR0915
# extract the current version of the program
chasten_version = util.get_chasten_version()
# display current chasten version
output.logger.debug(f"Current Chasten version {chasten_version}")
output.logger.info(f"Current Chasten version {chasten_version}")
# create the include and exclude criteria
include = results.CheckCriterion(
attribute=str(checks.fix_check_criterion(check_include[0])),
Expand Down Expand Up @@ -589,9 +589,9 @@ def analyze( # noqa: PLR0912, PLR0913, PLR0915
check_status_list: List[bool] = []
# check XPATH version
if xpath == "1.0":
output.logger.debug("Using XPath version 1.0")
output.logger.info("Using XPath version 1.0")
else:
output.logger.debug("Using XPath version 2.0")
output.logger.info("Using XPath version 2.0")
# iterate through and perform each of the checks
for current_check in check_list:
# extract the pattern for the current check
Expand Down Expand Up @@ -781,7 +781,7 @@ def analyze( # noqa: PLR0912, PLR0913, PLR0915
output.console.print(
f"\n:joy: All checks passed. Elapsed Time: {elapsed_time} seconds"
)
output.logger.debug("\n:joy: All checks passes. Analysis complete.")
output.logger.debug("Analysis complete.")
if store_result:
# writes results of analyze into a markdown file
result_path = os.path.abspath(analysis_file_dir)
Expand Down

0 comments on commit 4acaa04

Please sign in to comment.