Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TelemetryLogger

Index

Constructors

Properties

_isErrorsEnabled: boolean
_isUsageEnabled: boolean
commonProperties: Record<string, any>
onDidChangeEnableStates: Event<TelemetryLogger> = ...
onDidChangeEnableStatesEmitter: Emitter<TelemetryLogger> = ...
options: undefined | TelemetryLoggerOptions
sender: undefined | TelemetrySender
telemetryEnabled: boolean

Accessors

  • get isErrorsEnabled(): boolean
  • set isErrorsEnabled(isErrorsEnabled: boolean): void
  • get isUsageEnabled(): boolean
  • set isUsageEnabled(isUsageEnabled: boolean): void

Methods

  • dispose(): void
  • getCommonProperties(): Record<string, any>
  • logError(eventNameOrException: string | Error, data?: Record<string, any>): void
  • logEvent(eventName: string, data?: Record<string, any>): void
  • logUsage(eventName: string, data?: Record<string, any>): void