diff --git a/docs/resources.rst b/docs/resources.rst index d2e0613a..374a52dc 100644 --- a/docs/resources.rst +++ b/docs/resources.rst @@ -3,7 +3,6 @@ Help & Guides .. toctree:: - Introduction to Logging in Python resources/migration.rst resources/troubleshooting.rst resources/recipes.rst diff --git a/docs/resources/migration.rst b/docs/resources/migration.rst index c36232b4..7134074f 100644 --- a/docs/resources/migration.rst +++ b/docs/resources/migration.rst @@ -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 `_. + Fundamental differences between ``logging`` and ``loguru`` ----------------------------------------------------------