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

Function error

extensions/cli/src/logging.ts:35–39  ·  view source on GitHub ↗
(message: any, forceLog = true)

Source from the content-addressed store, hash-verified

33 * Errors are generally important, so we default forceLog to true
34 */
35export function error(message: any, forceLog = true): void {
36 if (isLoggingEnabled(forceLog)) {
37 console.error(message);
38 }
39}
40
41/**
42 * Wrapper for console.info that respects headless mode

Callers 4

logging.tsFile · 0.85
logging.test.tsFile · 0.85
withExponentialBackoffFunction · 0.85

Calls 2

isLoggingEnabledFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected