Skip to content

gh-94700: Rewrite the logging.Formatter API ref in structured form (GH-94701)#94701

Merged
vsajip merged 1 commit intopython:mainfrom
CAM-Gerlach:logging-formatter-explict-params
Jul 9, 2022
Merged

gh-94700: Rewrite the logging.Formatter API ref in structured form (GH-94701)#94701
vsajip merged 1 commit intopython:mainfrom
CAM-Gerlach:logging-formatter-explict-params

Conversation

@CAM-Gerlach
Copy link
Copy Markdown
Member

@CAM-Gerlach CAM-Gerlach commented Jul 9, 2022

As discussed on #94700 and the Discourse thread, this revises the logging.Formatter class API doc to use a structured, explicit parameter list, include all key details (param descriptions, types and defaults) in a much more accessible, readable format, and make it much more concise and direct while retaining all the same information by trimming redundancy, duplication and verbosity, as well as improving clarity.

Preview:

image

Resolves #94700

@CAM-Gerlach CAM-Gerlach requested a review from vsajip as a code owner July 9, 2022 02:24
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir labels Jul 9, 2022
@CAM-Gerlach CAM-Gerlach changed the title gh-94700: Rewrite the logging.Formatter API ref in structured sphinxdoc gh-94700: Rewrite the logging.Formatter API ref in structured form Jul 9, 2022
@vsajip vsajip changed the title gh-94700: Rewrite the logging.Formatter API ref in structured form gh-94700: Rewrite the logging.Formatter API ref in structured form (GH-94701) Jul 9, 2022
@vsajip vsajip merged commit 761eeb6 into python:main Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add structured, explicit parameter list to logging.Formatter constructor

3 participants