MCPcopy
hub / github.com/cursor/community-plugins / logInfo

Function logInfo

apps/cursor/src/lib/plugins/scan.ts:127–129  ·  view source on GitHub ↗
(tag: string, msg: string, meta?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

125// and in Vercel function logs. Keep messages structured; the second arg
126// is dumped as JSON so we don't have to invent a format per call site.
127function logInfo(tag: string, msg: string, meta?: Record<string, unknown>) {
128 console.log(`[scan:${tag}] ${msg}${meta ? ` ${JSON.stringify(meta)}` : ""}`);
129}
130
131function logError(tag: string, msg: string, err: unknown) {
132 const detail =

Callers 4

runPluginScanFunction · 0.70
finalFunction · 0.70
cloneRepoFunction · 0.70
runSecurityAgentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected