BackendDiagnosticsOptions<TContext> Interface

Data structure for backend diagnostics options.

Extends

Properties

Name Type Description
handler BackendDiagnosticsHandler<TContext> Request diagnostics handler function that is called after the request is fulfilled.  
requestContextSupplier () => TContext | undefined An optional function to supply request context that'll be passed to handler when  

Inherited properties

Name Type Inherited from Description
dev boolean | DiagnosticsLoggerSeverity DiagnosticsOptions Severity for developer log messages
editor boolean | DiagnosticsLoggerSeverity DiagnosticsOptions Severity for presentation rules' editor log messages
perf boolean | { minimumDuration: number } DiagnosticsOptions Flag specifying that performance should be measured, or

Defined in

Last Updated: 13 May, 2024