oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.29k stars 2.69k forks source link

Proposal: Standard Logger #4317

Open PodaruDragos opened 1 year ago

PodaruDragos commented 1 year ago

What is the problem this feature would solve?

Every application needs a logger, having a logger directly built into the runtime would be such a great addition.

What is the feature you are proposing to solve the problem?

I am proposing a Logger class that can do console and file logging, since bun is really fast the logger will probably be the fastest logger out there, so it just makes sense. Also having a logger inside "core" would make it even more reliable.

What alternatives have you considered?

What do you guys think about this ?

PodaruDragos commented 5 months ago

reopening this since bun has finished windows support, so it can handle other things