Structured log package in node core
Open
Nobody has claimed this yet.
feature request
- Dominant language
- JavaScript
- Stars
- 122k
- Forks
- 37.3k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 283
Description
What is the problem this feature will solve?
To have a structured log package available in stdlib so that all npm modules can log in a single fashion instead of
- logging to console
- not logging
- Having some arbitrary logger interface
- Emitting random log events
- Worst case: they literally depend on Winston and it’s 200 transitive dependencies
What is the feature you are proposing to solve the problem?
Implement something like https://go.dev/blog/slog
What alternatives have you considered?
No response
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.
Research direction
The issue names no Node.js files, tests, or entry points. Start by reading the proposal and the linked Go slog design, then review the 67-comment thread for an agreed API and scope. Done means the Node.js core project has an accepted structured logging package proposal and an implementation path with matching tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100