MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / flush

Function flush

packages/agent-core/src/logging/logger.ts:239–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237 [SESSION_LOG_ID]: entry.logId,
238 } as LogContext),
239 async flush() {
240 if (entry.state === 'closing') {
241 await entry.closePromise;
242 } else {
243 await entry.sink.flush();
244 }
245 },
246 async close() {
247 if (closed) return;
248 closed = true;

Callers 1

warnIfLogFlushFailsFunction · 0.50

Calls 1

flushMethod · 0.65

Tested by

no test coverage detected