Summary
Logger usage is inconsistent: some files import logger from @/utils/logger, others from @/utils/structuredLogger; some call console.error directly.
Affected area
Whole repo. Notable offenders: src/components/ViewToggle.tsx, src/components/TransactionDetailsModal.tsx, src/utils/earlyErrorSuppression.ts.
Expected behaviour
Choose one canonical logger; deprecate the other in favour of a thin wrapper. Provide a single import path.
Acceptance criteria
Filed automatically as part of the PropChain code-review sweep.
Summary
Logger usage is inconsistent: some files import
loggerfrom@/utils/logger, others from@/utils/structuredLogger; some callconsole.errordirectly.Affected area
Whole repo. Notable offenders:
src/components/ViewToggle.tsx,src/components/TransactionDetailsModal.tsx,src/utils/earlyErrorSuppression.ts.Expected behaviour
Choose one canonical logger; deprecate the other in favour of a thin wrapper. Provide a single import path.
Acceptance criteria
Filed automatically as part of the PropChain code-review sweep.