MCPcopy Index your code
hub / github.com/code-pushup/cli / debug

Method debug

packages/utils/src/lib/logger.ts:133–137  ·  view source on GitHub ↗

* Logs a debug message to the console (gray), but **only if verbose** flag is set (see isVerbose). * * Automatically adapts to logger state if called within task, group, etc. * * @example * logger.debug('Running ESLint version 9.16.0'); * * @param message

(message: string, options?: DebugLogOptions)

Source from the content-addressed store, hash-verified

131 * @param options Additional options
132 */
133 debug(message: string, options?: DebugLogOptions): void {
134 if (this.#isVerbose || options?.force) {
135 this.#log(message, 'gray', options);
136 }
137 }
138
139 /**
140 * Print a blank line to the console, used to separate logs for readability.

Callers 15

logger-demo.tsFile · 0.45
workerFunction · 0.45
logger.int.test.tsFile · 0.45
logDiagnosticsSummaryFunction · 0.45
getTypeScriptDiagnosticsFunction · 0.45
collectFunction · 0.45
autoloadRcFunction · 0.45
parseLcovFileFunction · 0.45
logLcovRecordsFunction · 0.45
logMergedRecordsFunction · 0.45
getNxCoveragePathsFunction · 0.45
runCliExecutorFunction · 0.45

Calls 1

#logMethod · 0.95

Tested by

no test coverage detected