From 1a438bb075da7064d7dc4c6a638348beaf5eaa56 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Mon, 1 Jul 2024 23:22:17 +0100 Subject: [PATCH] gh-121035: Improve logging flow diagram with respect to dark/light modes. --- 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