Skip to content

Commit 1cfb637

Browse files
Removed a stray capitalization and improved the grammar in the 'print' vs 'logging' section
1 parent 7c37ec8 commit 1cfb637

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/writing/logging.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ Other reasons why logging is better than ``print``:
2828
- Events logged in included modules are automatically accessible via the
2929
root logger
3030
to your application's logging stream, unless you filter them out.
31-
- Logging can be selectively silenced or disabled by using the method
32-
:meth:`logging.Logger.setLevel` or setting the attribute
31+
- Logging can be selectively silenced by using the method
32+
:meth:`logging.Logger.setLevel` or disabled by setting the attribute
3333
:attr:`logging.Logger.disabled` to ``True``.
3434

3535

3636
Logging in a Library
3737
--------------------
3838

3939
Notes for `configuring logging for a library`_ are in the
40-
`basic logging tutorial`_. Because the *user*, not the library, should
41-
dictate what happens when a logging event occurs, One admonition bears
40+
`logging tutorial`_. Because the *user*, not the library, should
41+
dictate what happens when a logging event occurs, one admonition bears
4242
repeating:
4343

4444
.. note::
@@ -86,6 +86,7 @@ There are at least three ways to configure a logger:
8686
- using a dictionary
8787
- using code
8888

89+
8990
Example Configuration via an INI File
9091
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9192

0 commit comments

Comments
 (0)