reportDiagnostics
reportDiagnostics(
found,mode,logger):void
Defined in: packages/pipeline/src/services/pipeline-setup.ts:106
Applies the diagnostics mode to the contract violations found: 'strict' throws them
together, 'warn' logs each one, 'off' does nothing.
Parameters
Section titled “Parameters”readonly PipelineBehaviorDiagnostic[]
logger
Section titled “logger”Pick<PipelineLogger, "warn">
Returns
Section titled “Returns”void
Throws
Section titled “Throws”PipelineConfigurationError in 'strict' mode when found is not empty.