Skip to content

Commit

Permalink
NOBUG: Making visuals on logging a little more human sensical.
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise committed Nov 7, 2024
1 parent 7131708 commit e85a9fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epictrack-api/src/api/utils/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def measure_time(*args, **kwargs):
diff = end_time - start_time

current_app.logger.info(
f"API endpoint: {profile_fn.__qualname__} took {diff} seconds"
f"API endpoint: {profile_fn.__qualname__} took {diff:.2f} seconds"
)
return result

Expand Down

0 comments on commit e85a9fe

Please sign in to comment.