JdeRobot / JdeRobot/PerceptionMetrics
Enhancement: Add structured logging system across the codebase
- Dominant language
- Python
- Stars
- 112
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
### 📌 Description
Currently, the PerceptionMetrics repository lacks a proper **structured logging system**. Most outputs are handled through basic `print()` statements or implicit console outputs via CLI/GUI.
This makes it difficult to:
- Debug evaluation pipelines
- Trace errors in large-scale experiments
- Monitor execution flow
- Maintain consistency across modules
---
### ⚠️ Current Limitations
- No log levels (`DEBUG`, `INFO`, `WARNING`, `ERROR`)
- No centralized logging configuration
- No support for logging to files
- Debugging requires manual print insertion
---
### 💡 Proposed Solution
Introduce a **centralized and configurable logging system** across the project.
#### Core Features:
1. Replace `print()` statements with `logging`
2. Implement logging levels `DEBUG INFO WARNING ERROR`.
3. Add a global logging configuration ` logging_config.py`
4. File Logging i.e. save logs to /logs directory.
---
### Willing to Contribute
I’d be happy to work on this issue and submit a PR if it aligns with the project goals.
Please let me know if this approach looks good or if you’d like any modifications.
Contributor guide
Assessment
This issue has not been assessed yet.