Path to this page:
./
sysutils/py-loguru,
Python logging made (stupidly) simple
Branch: CURRENT,
Version: 0.7.2,
Package name: py312-loguru-0.7.2,
Maintainer: pkgsrc-usersLoguru is a library which aims to bring enjoyable logging in Python.
Did you ever feel lazy about configuring a logger and used print()
instead I did, yet logging is fundamental to every application and
eases the process of debugging. Using Loguru you have 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.
Master sites:
Filesize: 141.702 KB
Version history: (Expand)
- (2024-11-11) Updated to version: py312-loguru-0.7.2
- (2023-11-27) Updated to version: py311-loguru-0.7.2
- (2023-08-04) Updated to version: py310-loguru-0.7.0
- (2022-08-25) Package added to pkgsrc.se, version py310-loguru-0.6.0 (created)
CVS history: (Expand)
2023-12-13 20:22:45 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-loguru: add missing tools
|
2023-11-27 16:31:19 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-loguru: updated to 0.7.2
0.7.2 (2023-09-11)
Add support for formatting of ExceptionGroup errors
Fix possible RuntimeError when using multiprocessing.set_start_method() after \
importing the logger
Fix formatting of possible __notes__ attached to an Exception
0.7.1 (2023-09-04)
Add a new context optional argument to logger.add() specifying multiprocessing \
context (like "spawn" or "fork") to be used internally \
instead of the default one
Add support for true colors on Windows using ANSI/VT console when available
Fix possible deadlock when calling logger.complete() with concurrent logging of \
an asynchronous sink
Fix file possibly rotating too early or too late when re-starting an application \
around midnight
Fix inverted "<hide>" and "<strike>" color tags
Fix possible untraceable errors raised when logging non-unpicklable Exception \
instances while using enqueue=True
Fix possible errors raised when logging non-picklable Exception instances while \
using enqueue=True
Fix missing seconds and microseconds when formatting timezone offset that \
requires such accuracy
Raise ValueError if an attempt to use nanosecond precision for time formatting \
is detected
|
2023-08-04 11:52:31 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-loguru: updated to 0.7.0
0.7.0
Update InterceptHandler recipe to make it compatible with Python 3.11
Add a new watch optional argument to file sinks in order to automatically \
re-create possibly deleted or changed file
Make patch() calls cumulative instead of overriding the possibly existing \
patching function
Make sinks added with enqueue=True and catch=False still process logged messages \
in case of internal exception
Avoid possible deadlocks caused by re-using the logger inside a sink, a signal \
handler or a __del__ method. Since the logger is not re-entrant, such misuse \
will be detected and will now generate a RuntimeError
Fix file sink rotation using an aware datetime.time for which the timezone was \
ignored
Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab
Fix logs colorization not automatically enabled for Github Actions and others CI \
platforms
Fix logger.complete() possibly hanging forever when enqueue=True and catch=False \
if internal thread killed due to Exception raised by sink
Fix incompatibility with freezegun library used to simulate time
Raise exception if logger.catch() is used to wrap a class instead of a function \
to avoid unexpected behavior
|
2022-08-25 13:12:32 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-loguru: added version 0.6.0
Loguru is a library which aims to bring enjoyable logging in Python.
Did you ever feel lazy about configuring a logger and used print()
instead I did, yet logging is fundamental to every application and
eases the process of debugging. Using Loguru you have 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.
|