Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01094e1

Browse files
committed
Logging documentation updates.
1 parent c63619b commit 01094e1

3 files changed

Lines changed: 26 additions & 5 deletions

File tree

Doc/library/logging.config.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
.. moduleauthor:: Vinay Sajip <[email protected]>
99
.. sectionauthor:: Vinay Sajip <[email protected]>
1010

11+
.. sidebar:: Important
12+
13+
This page contains only reference information. For tutorials,
14+
please see
15+
16+
* :ref:`Basic Tutorial <logging-basic-tutorial>`
17+
* :ref:`Advanced Tutorial <logging-advanced-tutorial>`
18+
* :ref:`Logging Cookbook <logging-cookbook>`
19+
20+
This section describes the API for configuring the logging module.
1121

1222
.. _logging-config-api:
1323

Doc/library/logging.handlers.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,22 @@
88
.. moduleauthor:: Vinay Sajip <[email protected]>
99
.. sectionauthor:: Vinay Sajip <[email protected]>
1010

11-
The following useful handlers are provided in the package.
11+
.. sidebar:: Important
12+
13+
This page contains only reference information. For tutorials,
14+
please see
15+
16+
* :ref:`Basic Tutorial <logging-basic-tutorial>`
17+
* :ref:`Advanced Tutorial <logging-advanced-tutorial>`
18+
* :ref:`Logging Cookbook <logging-cookbook>`
1219

1320
.. currentmodule:: logging
1421

22+
The following useful handlers are provided in the package. Note that three of
23+
the handlers (:class:`StreamHandler`, :class:`FileHandler` and
24+
:class:`NullHandler`) are actually defined in the :mod:`logging` module itself,
25+
but have been documented here along with the other handlers.
26+
1527
.. _stream-handler:
1628

1729
StreamHandler

Doc/library/logging.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
.. sidebar:: Important
1515

16-
The tutorials have been moved to the HOWTO section:
16+
This page contains the API reference information. For tutorial
17+
information and discussion of more advanced topics, see
1718

1819
* :ref:`Basic Tutorial <logging-basic-tutorial>`
1920
* :ref:`Advanced Tutorial <logging-advanced-tutorial>`
2021
* :ref:`Logging Cookbook <logging-cookbook>`
2122

2223

23-
2424
This module defines functions and classes which implement a flexible event
2525
logging system for applications and libraries.
2626

@@ -31,8 +31,7 @@ modules.
3131

3232
The module provides a lot of functionality and flexibility. If you are
3333
unfamiliar with logging, the best way to get to grips with it is to see the
34-
tutorials (see the links on the right). This page contains the API reference
35-
information.
34+
tutorials (see the links on the right).
3635

3736
The basic classes defined by the module, together with their functions, are
3837
listed below.

0 commit comments

Comments
 (0)