Introduce logging framework/library
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, node.js, typescript
- Domain
- tooling
Research direction
The issue names no files, tests, or entry points. Start by reviewing the proposed console and winston approaches, including their browser and Node.js behavior; done means agreeing on a customized logger design that supports the stated environments and output options.
Written by the indexing model from the issue text.
Description
The vanilla console.log/warn/error is convenient, and works on both client-side (browser) and server-side(e.g. nodejs) apps. But it only prints to stdout/stderr.
Popular logging frameworks like winston is powerful, providing different log levels, different format of output (stdout, a file, and a database etc.). But is not directly working on client-side so far, and introduce more dependencies.
A feasible solution is using a customized logger, and delegate logger.log to console.log or winston based on running environment.
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 6
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
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.
More from microsoft/FeatureManagement-JavaScript
-
Contributor Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/FeatureManagement-JavaScript#141 · 2 comments · 2 reactions ·
-
microsoft/FeatureManagement-JavaScript#89 · 1 comment · 1 assignee ·
-
microsoft/FeatureManagement-JavaScript#32 · 1 assignee ·
-
microsoft/FeatureManagement-JavaScript#31 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in microsoft/FeatureManagement-JavaScript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·