MCPcopy Create free account
hub / github.com/backnotprop/plannotator / log

Function log

apps/opencode-plugin/cli-bridge.ts:90–96  ·  view source on GitHub ↗
(client: OpenCodeClient, level: LogLevel, message: string)

Source from the content-addressed store, hash-verified

88}
89
90function log(client: OpenCodeClient, level: LogLevel, message: string): void {
91 try {
92 void client.app?.log?.({ level, message });
93 } catch {
94 // OpenCode logging is best-effort.
95 }
96}
97
98function getPlannotatorBin(): string {
99 return process.env.PLANNOTATOR_BIN?.trim() || "plannotator";

Callers 5

logCliWarningsFunction · 0.70
forwardLineFunction · 0.70
logReadyFileFunction · 0.70
runPlannotatorCliFunction · 0.70
handleCliCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected