MCPcopy
hub / github.com/continuedev/continue / warn

Function warn

extensions/cli/src/logging.ts:53–57  ·  view source on GitHub ↗
(message: any, forceLog = false)

Source from the content-addressed store, hash-verified

51 * Wrapper for console.warn that respects headless mode
52 */
53export function warn(message: any, forceLog = false): void {
54 if (isLoggingEnabled(forceLog)) {
55 console.warn(message);
56 }
57}
58
59/**
60 * Colored logging helpers that respect headless mode

Callers 3

logging.test.tsFile · 0.85
withExponentialBackoffFunction · 0.85

Calls 2

isLoggingEnabledFunction · 0.85
warnMethod · 0.80

Tested by

no test coverage detected