Options
All
  • Public
  • Public/Protected
  • All
Menu

Wraps the configured logger for the runtime and ensures that certain mandatory properties are included on outgoing telemetry events.

Hierarchy

  • LiveTelemetryLogger

Index

Constructors

Methods

  • sendPerformanceEvent(eventName: string, duration: number, error?: any, additionalProperties?: Partial<ILiveTelemetryProperties>): void
  • Sends a performance telemetry event.

    Parameters

    • eventName: string

      Name of the event to send.

    • duration: number

      The duration of the event in milliseconds.

    • Optional error: any

      Optional. Error object to send with event.

    • Optional additionalProperties: Partial<ILiveTelemetryProperties>

      Optional. Additional properties to include with event.

    Returns void

  • formatCorrelationId(clientId: undefined | string, timestamp: number): string

Generated using TypeDoc