Hierarchy

  • LoggingDataClient

Methods

Methods

  • Destroy the client. Always call this when the client is not used anymore. When the context is destroyed, this is called automatically

    Returns void

  • Starts a query for logging data. This method can be used for historic and live data depending on the selector.

    Returns

    Returns a deregistration function for the listener.

    Parameters

    Returns (() => void)

      • (): void
      • Starts a query for logging data. This method can be used for historic and live data depending on the selector.

        Returns

        Returns a deregistration function for the listener.

        Returns void

  • Parameters

    Returns (() => void)

      • (): void
      • Returns void

  • Type Parameters

    Parameters

    • queryOptions: T
    • listener: ((results: T extends {
          format: "csv";
      } ? LoggingDataBlob : LoggingDataMetric[][]) => void)

      Depending on the format in the query options, the query listener result has a specific type.

      • If format is 'csv', the result type is LoggingDataBlob
      • Otherwise, the result type is LoggingDataMetric[][]
        • (results: T extends {
              format: "csv";
          } ? LoggingDataBlob : LoggingDataMetric[][]): void
        • Depending on the format in the query options, the query listener result has a specific type.

          • If format is 'csv', the result type is LoggingDataBlob
          • Otherwise, the result type is LoggingDataMetric[][]

          Parameters

          Returns void

    Returns (() => void)

      • (): void
      • Returns void

Generated using TypeDoc