Skip to content

Commit

Permalink
Make default time formatting respect ISO 8601
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Dec 1, 2018
1 parent 56f64c2 commit 667e79d
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 @@ -31,7 +31,7 @@ def env(key, type_, default=None):
LOGURU_FORMAT = env(
"LOGURU_FORMAT",
str,
"<green>{time:YYYY-MM-DD HH:mm:ss.SSS}</green> | <level>{level: <8}</level> | <cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - <level>{message}</level>",
"<green>{time}</green> | <level>{level: <8}</level> | <cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - <level>{message}</level>",
)
LOGURU_FILTER = env("LOGURU_FILTER", str, None)
LOGURU_LEVEL = env("LOGURU_LEVEL", str, "DEBUG")
Expand Down

0 comments on commit 667e79d

Please sign in to comment.