Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DiagnosticMessage

import type { DiagnosticMessage } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

A message representing the key visualizer diagnostic messages.

interface DiagnosticMessage {
metric?: LocalizedString;
metricSpecific?: boolean;
severity?:
| "SEVERITY_UNSPECIFIED"
| "INFO"
| "WARNING"
| "ERROR"
| "FATAL";
shortMessage?: LocalizedString;
}

§Properties

§

Information about this diagnostic information.

§

The metric.

§
metricSpecific?: boolean
[src]

Whether this message is specific only for the current metric. By default Diagnostics are shown for all metrics, regardless which metric is the currently selected metric in the UI. However occasionally a metric will generate so many messages that the resulting visual clutter becomes overwhelming. In this case setting this to true, will show the diagnostic messages for that metric only if it is the currently selected metric.

§
severity?: "SEVERITY_UNSPECIFIED" | "INFO" | "WARNING" | "ERROR" | "FATAL"
[src]

The severity of the diagnostic message.

§
shortMessage?: LocalizedString
[src]

The short message.