MCPcopy Create free account
hub / github.com/donghaxkim/react-rewrite / warn

Function warn

packages/cli/src/logger.ts:32–34  ·  view source on GitHub ↗
(...args: unknown[])

Source from the content-addressed store, hash-verified

30 if (shouldLog("info")) console.log(...args);
31 },
32 warn(...args: unknown[]) {
33 if (shouldLog("warn")) console.warn(...args);
34 },
35 error(...args: unknown[]) {
36 if (shouldLog("error")) console.error(...args);
37 },

Callers

nothing calls this directly

Calls 1

shouldLogFunction · 0.85

Tested by

no test coverage detected