factory
- update to 26.1.0:
* Support for *better-exceptions* is deprecated and will be
removed within a year.
* Use our Rich integration or copy-paste the one line of code
you need.
* Python 3.15 support.
* `structlog.dev.rich_monochrome_traceback` for Rich-based
monochrome exception rendering and add support for it
throughout `structlog.dev.ConsoleRenderer` when the user asks
for no colors.
* `structlog.BytesLogger` now has a `name` attribute which
allows you to use it with the
`structlog.stdlib.add_logger_name()` processor *without*
using the standard library integration.
* `structlog.processors.CallsiteParameterAdder` now supports
`CallsiteParameter.QUAL_MODULE` that adds the qualified
import name of the module of the callsite, or `__main__` if
the module is the entry point.
* This is only available for *structlog*-originated events
since the standard library has no equivalent (except for the
convention of setting the logger's name to `__name__`).
* `structlog.stdlib.BoundLogger` now has `is_enabled_for()` and
`get_effective_level()` methods that are snake_case aliases
for its `isEnabledFor()` and `getEffectiveLevel()` methods.
* This makes it more compatible with the native
`structlog.typing.FilteringBoundLogger`, so you can swap
configurations without changing your call sites.
OBS-URL: https://build.opensuse.org/request/show/1359302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-structlog?expand=0&rev=19
Description
No description provided
Languages
RPM Spec
100%