Skip to content

Commit

Permalink
fixed colorize
Browse files Browse the repository at this point in the history
  • Loading branch information
zlElo committed Apr 1, 2024
1 parent 5274cae commit 3597543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion froggius/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def information(log_msg, file_path=None, highlighting=True, print_out=True):
current_date = datetime.datetime.now()

if highlighting:
log_string = f'\033[32m[INF]\033[0m [{current_date.strftime("%d/%m/%Y %H:%M:%S")}] {log_msg}'
log_string = f'[\033[32mINF\033[0m] [{current_date.strftime("%d/%m/%Y %H:%M:%S")}] {log_msg}'
else:
log_string = f'[INF] [{current_date.strftime("%d/%m/%Y %H:%M:%S")}] {log_msg}'

Expand Down

0 comments on commit 3597543

Please sign in to comment.