MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / emit

Function emit

src/workspaces/logger.ts:55–58  ·  view source on GitHub ↗
(level: Level, msg: string, fields: Record<string, unknown>)

Source from the content-addressed store, hash-verified

53}
54
55function emit(level: Level, msg: string, fields: Record<string, unknown>): void {
56 if (LEVELS[level] < minLevel) return;
57 write(level, msg, fields, true);
58}
59
60/**
61 * Routine connection-lifecycle events (attach / detach / upgrade) — high

Callers 1

makeFunction · 0.85

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected