Skip to content

Commit 326fa8e

Browse files
committed
Add comment explaining usage of 'print' vs 'log'
Signed-off-by: John Pennycook <john.pennycook@intel.com>
1 parent 6c055b3 commit 326fa8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

codebasin/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ def main():
156156
file_handler.setLevel(logging.INFO)
157157
file_handler.setFormatter(formatter)
158158
log.addHandler(file_handler)
159+
160+
# Inform the user that a log file has been created.
161+
# 'print' instead of 'log' to ensure the message is visible in the output.
159162
log_path = os.path.abspath("cbi.log")
160163
print(f"Log file created at {log_path}")
161164

0 commit comments

Comments
 (0)