Skip to content

ObsidianTransport.readConsoleCaptureSince method

ObsidianTransport › readConsoleCaptureSince

Reads the native console/error output captured since the matching ObsidianTransport.beginConsoleCapture call.

A bounded, post-hoc, failure-path-only dump — not a live monitor.

Signature:

readConsoleCaptureSince(handle: ConsoleCaptureHandle | undefined): Promise<string | undefined>

Parameters:

ParameterTypeDescription
handleConsoleCaptureHandle | undefinedThe handle returned by {@link ObsidianTransport.beginConsoleCapture} (or undefined when capture was unsupported).

Returns: Promise<string | undefined>The captured console/error text, or undefined when unsupported or nothing relevant was logged.