From bfe0e4d7696647a546110328510bdb98146ad2f2 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 2 Jul 2024 09:13:37 +0100 Subject: [PATCH] gh-121035: Improve logging flow diagram for dark/light modes. (GH-121254) --- Doc/howto/logging.rst | 38 ++++++++++++++++++++++++++++++++++++++ Doc/howto/logging_flow.svg | 35 ++++++++++++++++++++++++----------- 2 files changed, 62 insertions(+), 11 deletions(-) diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst index 316b16aa796af4..9c55233e910f17 100644 --- a/Doc/howto/logging.rst +++ b/Doc/howto/logging.rst @@ -385,6 +385,44 @@ following diagram. .. raw:: html :file: logging_flow.svg +.. raw:: html + + + Loggers ^^^^^^^ diff --git a/Doc/howto/logging_flow.svg b/Doc/howto/logging_flow.svg index a5f656b1df0b42..9807323b7190d6 100644 --- a/Doc/howto/logging_flow.svg +++ b/Doc/howto/logging_flow.svg @@ -1,9 +1,9 @@ @@ -57,7 +69,7 @@ Create - LogRecord + LogRecord @@ -100,7 +112,7 @@ - Pass to + Pass record to handlers of current logger @@ -135,16 +147,17 @@ - - Use lastResort - handler + + Use + lastResort + handler Handler enabled for - level of LogRecord? + level of record? @@ -292,7 +305,7 @@ Yes - LogRecord passed + Record passed to handler