mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-24 00:42:18 +00:00
16 lines
519 B
Markdown
16 lines
519 B
Markdown
---
|
|
name: library-async-logger-with-trace-context
|
|
group: api
|
|
category: facade
|
|
update-time: 20260719
|
|
description: Bind TraceContext fields through the restricted LibraryAsyncLogger facade.
|
|
key-word:
|
|
- library
|
|
- async
|
|
- trace
|
|
---
|
|
|
|
## Library-async-logger-with-trace-context
|
|
|
|
`LibraryAsyncLogger::with_trace_context(...)` returns a derived library facade with `trace_id`, `span_id`, `trace_flags`, and optional `trace_state` attached to each later record. It does not start a worker or change lifecycle state.
|