Skip to content

Commit

Permalink
time zone now in console debugging message
Browse files Browse the repository at this point in the history
  • Loading branch information
DogukanUrker committed Jan 16, 2024
1 parent 869bb0d commit 2e33bf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def currentTime(seconds=False, microSeconds=False):
def message(color, message):
print(
f"\n\033[94m[{currentDate()}\033[0m"
f"\033[95m {currentTime(seconds=True)}]\033[0m"
f"\033[95m {currentTime(seconds=True)}\033[0m"
f"\033[94m {currentTimeZone()}] \033[0m"
f"\033[9{color}m {message}\033[0m\n"
)
logFile = open(LOG_FILE_ROOT, "a", encoding="utf-8")
Expand Down

0 comments on commit 2e33bf6

Please sign in to comment.