Contents

loguru 0.7.3

0

Python logging made (stupidly) simple

Python logging made (stupidly) simple

Stars: 23600, Watchers: 23600, Forks: 767, Open Issues: 250

The Delgan/loguru repo was created 8 years ago and the last code push was 1 months ago.
The project is extremely popular with a mindblowing 23600 github stars!

How to Install loguru

You can install loguru using pip

pip install loguru

or add it to a project with poetry

poetry add loguru

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/loguru/
Documentation:
https://loguru.readthedocs.io/en/stable/index.html
GitHub Repo:
https://github.com/Delgan/loguru

Classifiers

  • System/Logging
No  loguru  pypi packages just yet.

Errors

A list of common loguru errors.

Code Examples

Here are some loguru code examples and snippets.

GitHub Issues

The loguru package has 250 open issues on GitHub

  • Add bounded queue support for enqueue option
  • In ipython (jupyter), logger cannot be pickled: TypeError: cannot pickle '_hashlib.HMAC' object
  • With enqueue=True, log messages appear in the wrong Jupyter notebook cell
  • Bump actions/checkout from 5 to 6
  • Bump actions/download-artifact from 5 to 7
  • Bump actions/upload-artifact from 4 to 6
  • Bump github/codeql-action from 3 to 4
  • Reference to logging_mp
  • enqueue=True causes unbounded memory growth with slow sinks (missing backpressure)
  • make get_ctime() public to be easier to write rotation function
  • Support Template Strings for log messages (#1397)
  • json format before send to sink
  • After a period of time, the log file will generate multiple
  • Include InterceptHandler in the library itself

See more issues on GitHub

Related Packages & Articles

graypy 2.1.0

Python logging handlers that send messages in the Graylog Extended Log Format (GELF).