Skip to main content

ILoggingError Interface

An error object that supports exporting its properties to be logged to telemetry

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

export interface ILoggingError extends Error

Extends: Error

Methods

Method Alerts Return Type Description
getTelemetryProperties() Alpha ITelemetryBaseProperties Return all properties from this object that should be logged to telemetry

Method Details

getTelemetryProperties

Return all properties from this object that should be logged to telemetry

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

getTelemetryProperties(): ITelemetryBaseProperties;

Returns

Return type: ITelemetryBaseProperties