MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / appendBootLog

Function appendBootLog

electron/main.mjs:425–435  ·  view source on GitHub ↗
(name, line, level)

Source from the content-addressed store, hash-verified

423}
424
425function appendBootLog(name, line, level) {
426 const entry = { name, line, level };
427 bootLog.push(entry);
428 if (bootLog.length > BOOT_LOG_MAX_LINES) {
429 bootLog.splice(0, bootLog.length - BOOT_LOG_MAX_LINES);
430 }
431 bootLogPending.push(entry);
432 if (!bootLogFlushTimer) {
433 bootLogFlushTimer = setTimeout(flushBootLog, BOOT_LOG_FLUSH_MS);
434 }
435}
436
437function flushBootLog() {
438 clearTimeout(bootLogFlushTimer);

Callers 3

setBootPhaseFunction · 0.85
handleServiceLogFunction · 0.85
main.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected