Vinay Sajip  committed 1ff413b Draft

Updated logging HOWTO with a diagram.

  • Participants
  • Parent commits c8614ec
  • Branches 3.2

Comments (0)

Files changed (2)

File Doc/howto/logging.rst

   to output.
 * Formatters specify the layout of log records in the final output.
+Log event information is passed between loggers, handlers, filters and
+formatters in a :class:`LogRecord` instance.
 Logging is performed by calling methods on instances of the :class:`Logger`
 class (hereafter called :dfn:`loggers`). Each instance has a name, and they are
 conceptually arranged in a namespace hierarchy using dots (periods) as
 *format* keyword argument. For all options regarding how a format string is
 constructed, see :ref:`formatter-objects`.
+Logging Flow
+The flow of log event information in loggers and handlers is illustrated in the
+following diagram.
+.. image:: logging_flow.png

File Doc/howto/logging_flow.png

New image