From adafe9e8eb924057138cc8a22975bd66c2f6f2d3 Mon Sep 17 00:00:00 2001 From: Delgan Date: Thu, 20 Feb 2025 09:49:01 +0100 Subject: [PATCH] Update the changelog to reference "FORCE_COLOR" env --- CHANGELOG.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e5519fc9..753722f3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,7 +6,8 @@ - Fix possible ``ValueError`` raised on Windows when system clock was set far ahead in the future (`#1291 `_). - Allow the ``rotation`` argument of file sinks to accept a list of rotation conditions, any of which can trigger the rotation (`#1174 `_, thanks `@CollinHeist `_). - Update the default log format to include the timezone offset since it produces less ambiguous logs (`#856 `_, thanks `@tim-x-y-z `_). -- Honor the ``NO_COLOR`` environment variable to disable color output by default if ``colorize`` is not provided (`#1178 `_). +- Honor the ``NO_COLOR`` environment variable which disables color output by default if ``colorize`` is not provided (`#1178 `_). +- Honor the ``FORCE_COLOR`` environment variable which enables color output by default if ``colorize`` is not provided (`#1305 `_, thanks `@nhurden `_). - Add requirement for ``TERM`` environment variable not to be ``"dumb"`` to enable colorization (`#1287 `_, thanks `@snosov1 `_). - Make ``logger.catch()`` usable as an asynchronous context manager (`#1084 `_). - Make ``logger.catch()`` compatible with asynchronous generators (`#1302 `_).