MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / _clearLogWritersForTesting

Function _clearLogWritersForTesting

source code/utils/errorLogSink.ts:80–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected