Skip to content

Commit

Permalink
fix import amstrax
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuselli committed Dec 12, 2023
1 parent 7d41683 commit e93bfab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amstrax/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,5 @@ def FormattedMessage(self, when, level, func_name, lineno, msg):
:returns: str, the formatted message
"""
func_line = f'{func_name} (L{lineno})'
return f"{when.isoformat(sep=' ')} | {str(level).upper():8} | {func_line:20} | {msg}\n"
return f"{when.isoformat(sep=' ')} | {str(level).upper():8} | {func_line:20} | {msg}\n"

0 comments on commit e93bfab

Please sign in to comment.