8000 Merge pull request #993 from zachvalenta/add-loguru · angellmethod/python-guide@219301b · GitHub
[go: up one dir, main page]

Skip to content

Commit 219301b

Browse files
authored
Merge pull request realpython#993 from zachvalenta/add-loguru
add paragraph on loguru to logging section
2 parents 823d0ab + 22e11f4 commit 219301b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/writing/logging.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The :mod:`logging` module has been a part of Python's Standard Library since
1010
version 2.3. It is succinctly described in :pep:`282`. The documentation
1111
is notoriously hard to read, except for the `basic logging tutorial`_.
1212

13+
As an alternative, `loguru <https://github.com/Delgan/loguru>`_ provides an approach to logging nearly as simple as using a simple ``print`` statement.
14+
1315
Logging serves two purposes:
1416

1517
- **Diagnostic logging** records events related to the application's

0 commit comments

Comments
 (0)
0