Skip to content

Commit

Permalink
Move "Introduction to logging" docs to a new section
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Dec 1, 2024
1 parent 72b93d1 commit 2e0cd7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Help & Guides

.. toctree::

Introduction to Logging in Python <https://docs.python.org/3/howto/logging.html>
resources/migration.rst
resources/troubleshooting.rst
resources/recipes.rst
9 changes: 9 additions & 0 deletions docs/resources/migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ Switching from Standard Logging to Loguru
.. _`GH#474`: https://github.com/Delgan/loguru/issues/474


Introduction to logging in Python
---------------------------------

First and foremost, it is important to understand some basic concepts about logging in Python.

Logging is an essential part of any application, as it allows you to track the behavior of your code and diagnose issues. It associates messages with severity levels which are collected and dispatched to readable outputs called handlers.

For newcomers, take a look at the tutorial in the Python documentation: `Logging HOWTO <https://docs.python.org/3/howto/logging.html>`_.


Fundamental differences between ``logging`` and ``loguru``
----------------------------------------------------------
Expand Down

0 comments on commit 2e0cd7b

Please sign in to comment.