Skip to content

Commit

Permalink
Adding milliseconds to the logger
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloAndresCQ committed May 15, 2024
1 parent 58bac8e commit 0c07ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytket/extensions/cutensornet/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
def set_logger(
logger_name: str,
level: int = logging.WARNING,
fmt: str = "[%(asctime)s] %(name)s (%(levelname)s) - %(message)s",
fmt: str = "[%(asctime)s.%(msecs)03d] %(name)s (%(levelname)s) - %(message)s",
) -> Logger:
"""Initialises and configures a logger object.
Expand Down

0 comments on commit 0c07ed9

Please sign in to comment.