OutputLoggingMiddleware class

Middleware that creates OutputScope spans for outgoing messages. Links to a parent span when A365_PARENT_SPAN_KEY is set in turnState.

Privacy note: Outgoing message content is captured verbatim as span attributes and exported to the configured telemetry backend.

Method Details

onTurn(TurnContextLike, () => Promise<void>)

function onTurn(context: TurnContextLike, next: () => Promise<void>): Promise<void>

Parameters

context
TurnContextLike
next

() => Promise<void>

Returns

Promise<void>