* 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)
| 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. |
no outgoing calls
no test coverage detected