maintainability

Avoid console.error

Route error logs through the project logger.

#Metadata

#Why it matters

Console error calls bypass the shared logging pipeline.

#Remediation

Replace `${captures.call.text}` with the logger.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.logging.no-console-error.rule.yaml.