Fully typed result of a host diagnostic collection.

Backend probes are opt-in. When requested they run in this process, so native crashes cannot be isolated by this API; ordinary exceptions are captured in the corresponding DiagnosticBackend instead.

Static variables

@:value("Backend probes are opt-in and run in-process; native crashes are not isolated.")staticinlineread onlyBACKEND_PROBE_POLICY:String = "Backend probes are opt-in and run in-process; native crashes are not isolated."

@:value("quadrants-hl.diagnose.v1")staticinlineread onlyFORMAT:String = "quadrants-hl.diagnose.v1"

Constructor

new(platform:DiagnosticPlatform, bindingVersion:DiagnosticBindingVersion, nativeVersion:DiagnosticNativeVersion, environment:Array<DiagnosticEnvironmentVariable>, backends:Array<DiagnosticBackend>, backendProbesRequested:Bool)

Variables

Methods

toJson():String

Renders a deterministic JSON object without exposing an untyped public API.

toText():String

Renders a deterministic, human-readable report.