Skip to content

Commit fbef23c

Browse files
committed
Update 'structured logging' paragraph
1 parent 457fde6 commit fbef23c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

peps/pep-0750.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -659,10 +659,9 @@ specifiers like ``:.2f``. The full code is fairly simple:
659659
Example: Structured Logging
660660
---------------------------
661661

662-
Structured logging allows developers to log data in both a human-readable format
663-
*and* a structured format (like JSON) using only a single logging call. This is
664-
useful for log aggregation systems that process the structured format while
665-
still allowing developers to easily read their logs.
662+
Structured logging allows developers to log data in machine-readable
663+
formats like JSON. With t-strings, developers can easily log structured data
664+
alongside human-readable messages using just a single log statement.
666665

667666
We present two different approaches to implementing structured logging with
668667
template strings.

0 commit comments

Comments
 (0)