mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-24 00:42:18 +00:00
548 B
548 B
name, group, category, update-time, description, key-word
| name | group | category | update-time | description | key-word | |||
|---|---|---|---|---|---|---|---|---|
| async-logger-with-trace-context | api | async | 20260719 | Bind TraceContext fields before records enter an AsyncLogger queue. |
|
Async-logger-with-trace-context
let contextual = logger.with_trace_context(
@bitlogger.trace_context("trace-1", "span-1"),
)
The helper stores the mapped fields on the returned async logger and preserves its queue, lifecycle, target, and threshold state. Context is added before records are enqueued.