Skip to content

Commit b7241e1

Browse files
authored
Fixes typo "extras" for "extra" in ColourizedFormatter docstring. (#2491)
extra={"color_message": message} is the correct usage.
1 parent 6215230 commit b7241e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎uvicorn/logging.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ColourizedFormatter(logging.Formatter):
1616
A custom log formatter class that:
1717
1818
* Outputs the LOG_LEVEL with an appropriate color.
19-
* If a log call includes an `extras={"color_message": ...}` it will be used
19+
* If a log call includes an `extra={"color_message": ...}` it will be used
2020
for formatting the output, instead of the plain text message.
2121
"""
2222

0 commit comments

Comments
 (0)