OutputLoggingMiddleware Class
Middleware that creates <xref:microsoft.opentelemetry.a365.hosting.middleware.output_logging_middleware.OutputScope> spans for outgoing messages.
Links to a parent span when <xref:A365_PARENT_TRACEPARENT_KEY> is set in
turn_state.
Privacy note: Outgoing message content is captured verbatim as span attributes and exported to the configured telemetry backend.
Constructor
OutputLoggingMiddleware()
Methods
| on_turn |
on_turn
async on_turn(context: TurnContext, logic: Callable[[TurnContext], Awaitable]) -> None
Parameters
| Name | Description |
|---|---|
|
context
Required
|
|
|
logic
Required
|
|