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

Function isLoggingEnabled

extensions/cli/src/logging.ts:17–19  ·  view source on GitHub ↗
(forceEnable = false)

Source from the content-addressed store, hash-verified

15 * This will return false if in headless mode unless specifically exempted
16 */
17export function isLoggingEnabled(forceEnable = false): boolean {
18 return !isHeadlessMode || forceEnable;
19}
20
21/**
22 * Wrapper for console.info that respects headless mode

Callers 5

logFunction · 0.85
errorFunction · 0.85
infoFunction · 0.85
warnFunction · 0.85
logging.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected