Path to this page:
Subject: CVS commit: pkgsrc/sysutils/py-structlog
From: Adam Ciarcinski
Date: 2018-02-06 09:09:08
Message id: 20180206080908.151F0FB40@cvs.NetBSD.org
Log Message:
py-structlog: updated to 18.1.0
18.1.0:
Deprecations:
- The meaning of the structlog[dev] installation target will change from \
"colorful output" to "dependencies to develop structlog" in \
19.1.0.
The main reason behind this decision is that it's impossible to have a \
structlog in your normal dependencies and additionally a structlog[dev] for \
developement (pip will report an error).
Changes:
- Empty strings are valid events now.
- Do not encapsulate Twisted failures twice with newer versions of Twisted.
- structlog.dev.ConsoleRenderer now accepts a *force_colors* argument to output \
colored logs even if the destination is not a tty.
Use this option if your logs are stored in files that are intended to be \
streamed to the console.
- structlog.dev.ConsoleRenderer now accepts a *level_styles* argument for \
overriding the colors for individual levels, as well as to add new levels.
- structlog.stdlib.BoundLogger.exception() now uses the exc_info argument if it \
has been passed instead of setting it unconditionally to True.
- Default configuration now uses plain dict\ s on Python 3.6+ and PyPy since \
they are ordered by default.
- Added structlog.is_configured() to check whether or not structlog has been \
configured.
- Added structlog.get_config() to introspect current configuration.
Files: