We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 045023d commit 7cfbb50Copy full SHA for 7cfbb50
1 file changed
pydis_core/utils/logging.py
@@ -9,7 +9,10 @@
9
LoggerClass = logging.getLoggerClass()
10
11
TRACE_LEVEL = 5
12
-log_format = logging.Formatter("%(asctime)s | %(levelname)s | %(name)s | %(message)s")
+log_format = logging.Formatter(
13
+ fmt="%(asctime)s | %(levelname)s | %(name)s:%(funcName)s:%(lineno)d - %(message)s",
14
+ datefmt="%Y-%m-%d %H:%M:%S",
15
+)
16
"""
17
A :obj:`logging.Formatter` that can be used to standardise logging across all projects using pydis_core.
18
0 commit comments