interface LoggingDataQueryOptions {
    csvDelimiter?: "comma" | "tab" | "semicolon";
    format?: "csv" | "metrics";
    once?: boolean;
    queries: LoggingDataQuery[];
}

Properties

csvDelimiter?: "comma" | "tab" | "semicolon"

Specifies the delimiter used to separate columns in the returned CSV data.

Only applicable for format 'csv'

Defaults to 'comma'

format?: "csv" | "metrics"

Specifies the format of the returned metrics.

  • If format is 'metrics', the listener is called with LoggingDataMetric[][].
  • If format is 'csv', the listener is called at most once with LoggingDataBlob.

Defaults to 'metrics'

once?: boolean

Specifies whether the query listener should be automatically removed after it gets invoked.

Not applicable for format 'csv', because this format implies the automatic listener removal after invocation behaviour.

Defaults to false

queries: LoggingDataQuery[]