diff --git a/src/helpers.py b/src/helpers.py index 22bf430..3b5751a 100644 --- a/src/helpers.py +++ b/src/helpers.py @@ -1,5 +1,6 @@ import logging import os +from datetime import datetime from pathlib import Path from termcolor import colored # type: ignore @@ -27,7 +28,8 @@ def log(text: str, color: str = "blue") -> None: logging.info(text) - print(colored(text, color)) + now = datetime.now().strftime("%Y-%m-%d %H:%M:%S:%f") + print(colored(f"{now} - {text}", color)) def physical_trezor() -> bool: