Skip to content

Commit f01de0f

Browse files
committed
add changelog
1 parent afeb5bf commit f01de0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

user_guide_src/source/changelogs/v4.8.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ Libraries
176176

177177
- **Context**: This new feature allows you to easily set and retrieve normal or hidden contextual data for the current request. See :ref:`Context <context>` for details.
178178
- **Logging:** Log handlers now receive the full context array as a third argument to ``handle()``. When ``$logGlobalContext`` is enabled, the CI global context is available under the ``HandlerInterface::GLOBAL_CONTEXT_KEY`` key. Built-in handlers append it to the log output; custom handlers can use it for structured logging.
179+
- **Logging:** Added :ref:`per-call context logging <logging-per-call-context>` with three new ``Config\Logger`` options (``$logContext``, ``$logContextTrace``, ``$logContextUsedKeys``). ``Throwable`` instances in context are automatically normalized to a meaningful array. All options default to ``false``.
179180

180181
Helpers and Functions
181182
=====================

0 commit comments

Comments
 (0)