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

Function _clearLogWritersForTesting

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

Source from the content-addressed store, hash-verified

76 * @internal
77 */
78export function _clearLogWritersForTesting(): void {
79 for (const writer of logWriters.values()) {
80 writer.dispose()
81 }
82 logWriters.clear()
83}
84
85function getLogWriter(path: string): JsonlWriter {
86 let writer = logWriters.get(path)

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.80
disposeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected