feat: add diagnostics and telemetry runtime
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { DiagnosticsPort } from "../../../src/application/ports/diagnostics-port.js";
|
||||
import type { TelemetryPort } from "../../../src/application/ports/telemetry-port.js";
|
||||
|
||||
declare const diagnostics: DiagnosticsPort;
|
||||
declare const telemetry: TelemetryPort;
|
||||
|
||||
diagnostics.record({
|
||||
level: "fatal",
|
||||
eventId: "UNKNOWN_DIAGNOSTIC_EVENT",
|
||||
});
|
||||
telemetry.emit("unknown.telemetry.event", {});
|
||||
Reference in New Issue
Block a user