enjoyable loggin' for Python


Logging is fundamental to every application and eases the process of debugging. Using Loguru user has no excuse not to use logging from the start, this is as simple as
 from loguru import logger.

Also, this library is intended to make Python logging less painful by adding a bunch of useful functionalities that solve caveats of the standard loggers. Using logs in your application should be an automatism, Loguru tries to make it both pleasant and powerful. Ready to use out of the box without boilerplate

 * No Handler, no Formatter, no Filter: one function to rule them all
 * Easier file logging with rotation / retention / compression
 * Modern string formatting using braces style
 * Exceptions catching within threads or main
 * Pretty logging with colors
 * Asynchronous, Thread-safe, Multiprocess-safe
 * Fully descriptive exceptions
 * Structured logging as needed
 * Lazy evaluation of expensive functions
 * Customizable levels
 * Better datetime handling
 * Suitable for scripts and libraries
 * Entirely compatible with standard logging
 * Personalizable defaults through environment variables
 * Convenient parser
 * Exhaustive notifier

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-loguru