RealDevSquad / RealDevSquad/website-backend
Formatting and streaming logs
Open
@correaswebert is already working on this.
Since Mar 12, 2021.
enhancement
feature task
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Our current logger does not format strings. For example, a newline is rendered as the escaped string \n instead of rendering it on the console.
It makes debugging difficult, as sometimes the solution is hidden in the logs.
Also, we could stream our error and critical-level logs to a separate log file to keep track of important issues.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.