MCPcopy
hub / github.com/codeaashu/claude-code / _flushLogWritersForTesting

Function _flushLogWritersForTesting

src/utils/errorLogSink.ts:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 * @internal
67 */
68export function _flushLogWritersForTesting(): void {
69 for (const writer of logWriters.values()) {
70 writer.flush()
71 }
72}
73
74/**
75 * Clear all buffered log writers. Used for testing.

Callers

nothing calls this directly

Calls 2

valuesMethod · 0.80
flushMethod · 0.45

Tested by

no test coverage detected