Interface TelemetryLoggerOptions

interface TelemetryLoggerOptions {
    additionalCommonProperties?: Record<string, any>;
    ignoreBuiltInCommonProperties?: boolean;
    ignoreUnhandledErrors?: boolean;
}

Properties

additionalCommonProperties?: Record<string, any>

Any additional common properties which should be injected into the data object.

ignoreBuiltInCommonProperties?: boolean

Whether or not you want to avoid having the built-in common properties such as os, extension name, etc injected into the data object. Defaults to false if not defined.

ignoreUnhandledErrors?: boolean

Whether or not unhandled errors on the extension host caused by your extension should be logged to your sender. Defaults to false if not defined.