MCPcopy
hub / github.com/neomjs/neo / log

Function log

ai/daemons/orchestrator/scheduling/swarmHeartbeat.mjs:99–102  ·  view source on GitHub ↗
(level, msg)

Source from the content-addressed store, hash-verified

97 logger = console
98} = {}) {
99 const log = (level, msg) => {
100 const fn = typeof logger?.[level] === 'function' ? logger[level] : console[level];
101 fn?.call(logger, msg);
102 };
103
104 const normalizedSelf = selfIdentity ? normalizeAgentIdentityNodeId(selfIdentity) : null;
105

Callers 15

getDueTaskFunction · 0.70
selfFallbackFunction · 0.70
resolveTargetsFunction · 0.70
scanFunction · 0.50
dropTestDatabaseFunction · 0.50
cleanOrphanedSegmentDirsFunction · 0.50
mainFunction · 0.50
bootstrapWorktreeFunction · 0.50
symlinkDataDirFunction · 0.50
symlinkGitignoredFilesFunction · 0.50
installDependenciesFunction · 0.50
runBuildAllFunction · 0.50

Calls 1

callMethod · 0.80

Tested by

no test coverage detected