MCPcopy Create free account
hub / github.com/code-pushup/cli / setVerbose

Method setVerbose

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

* Sets verbose flag for this logger. * * Also sets the `CP_VERBOSE` environment variable. * This means any future Logger instantiations (including child processes) will use the same verbosity level. * * @example * logger.setVerbose(process.argv.includes('--verbose')); *

(isVerbose: boolean)

Source from the content-addressed store, hash-verified

174 * @param isVerbose Verbosity level
175 */
176 setVerbose(isVerbose: boolean): void {
177 process.env['CP_VERBOSE'] = `${isVerbose}`;
178 this.#isVerbose = isVerbose;
179 }
180
181 /**
182 * Animates asynchronous work using a spinner.

Calls

no outgoing calls

Tested by

no test coverage detected