]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-115233: Fix an example in the Logging Cookbook (GH-115325) (GH-115355)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 12 Feb 2024 18:29:48 +0000 (20:29 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2024 18:29:48 +0000 (18:29 +0000)
commit225856ef3e6c5e4f234ede1dd118b57f6e8f6d0e
tree6d3082049d54ee03569a5b55491b107100abd411
parent90d103704609eb6c87d2839017f156bea27b2a12
[3.12] gh-115233: Fix an example in the Logging Cookbook (GH-115325) (GH-115355)

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 91822018eeba12a6c9eabbc748363b2fd4291b30)
Doc/howto/logging-cookbook.rst
Lib/logging/__init__.py
Lib/test/test_logging.py
Misc/NEWS.d/next/Documentation/2024-02-12-12-26-17.gh-issue-115233.aug6r9.rst [new file with mode: 0644]