Class RestProbeLog

Namespace
Kuestenlogik.Bowire.Protocol.Rest
Assembly
Kuestenlogik.Bowire.Protocol.Rest.dll

Process-wide ring buffer of OpenAPI auto-probe events. Surfaces "which well-known path matched at <origin>" / "no OpenAPI doc found at <origin>" so the workbench (and the integration tests) can observe what the REST discovery plumbing tried without wiring a full ILogger pipeline through every protocol plugin. Bounded so a long-running tool doesn't grow this without limit.

public static class RestProbeLog
Inheritance
RestProbeLog
Inherited Members

Remarks

Two log levels — Info for "we resolved <origin> → <probe>" (operator-visible UX feedback) and Debug for "no OpenAPI document found at <origin>" (quieter — the workbench surfaces an empty service list anyway, but the log entry helps diagnose silent zero- result discovery passes).

Methods

Clear()

Test helper — empties the buffer between cases.

public static void Clear()

Debug(string)

Append a debug-level entry (no doc found / probe failure).

public static void Debug(string message)

Parameters

message string

Info(string)

Append an info-level entry (winning probe).

public static void Info(string message)

Parameters

message string

Snapshot()

Snapshot of recent entries (oldest → newest).

public static IReadOnlyList<RestProbeLogEntry> Snapshot()

Returns

IReadOnlyList<RestProbeLogEntry>