trace
Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.
trace(
options?):PipelineBehaviorTuple<TraceBehavior,TraceBehaviorOptions>
Defined in: helpers/trace.intent.ts:17
Returns a trace behavior entry for pipeline.wrap() or createPipeline({ globalBehaviors }).
Parameters
Section titled “Parameters”options?
Section titled “options?”TraceBehaviorOptions = {}
Per-handler trace options; omitted fields use behavior defaults.
Returns
Section titled “Returns”PipelineBehaviorTuple<TraceBehavior, TraceBehaviorOptions>
The behavior class and options tuple.
Example
Section titled “Example”@pipeline.wrap({ kind: 'query' }, trace({ tracerName: 'users-api' }))