Skip to content

No Centralized Error Logging #50

@RUKAYAT-CODER

Description

@RUKAYAT-CODER

Description

Overview
Error handling is scattered with console.log/console.error statements.

Background
Various console statements throughout the codebase (App.tsx, socket/index.ts, axios.config.ts) create inconsistent logging and no structured output for production analysis.

Specifications

  • Implement centralized logger utility
  • Replace all console statements with logger

Tasks:

  • Create src/utils/logger.ts
  • Replace console.log in App.tsx
  • Replace console.log in socket/index.ts
  • Replace console statements in axios.config.ts

Impacted Files:

  • src/utils/logger.ts (create)
  • App.tsx
  • src/services/socket/index.ts
  • src/services/api/axios.config.ts

Labels: error-handling, priority-medium

🙌Contribution Guidelines:
Assignment required before PR submission
Timeframe: 48-72 hours
PR description must include: Close #9
Star the repo⭐
For more context, please refer to the mobile README

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions