logging
is a Python module for logging coming with the standard library
while
loguru
is a popular 3rd-party logging library.
Unless you do not want your Python package/script to depend on 3rd-party libraries,
loguru is preferred to logging for multiple reasons.
- loguru is easy and fun to …