Skip to content

Commit

Permalink
Add timezone to default logging time (#856)
Browse files Browse the repository at this point in the history
Co-authored-by: tim <timothee.heller@habitat.energy>
Co-authored-by: tim-habitat <86600518+tim-habitat@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 17, 2025
1 parent b64e1d5 commit f3830e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loguru/_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def env(key, type_, default=None):
LOGURU_FORMAT = env(
"LOGURU_FORMAT",
str,
"<green>{time:YYYY-MM-DD HH:mm:ss.SSS}</green> | "
"<green>{time:YYYY-MM-DD HH:mm:ss.SSS Z}</green> | "
"<level>{level: <8}</level> | "
"<cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - <level>{message}</level>",
)
Expand Down

0 comments on commit f3830e1

Please sign in to comment.