Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Caravan, a flexible, transport-based logging system for TypeScript apps (github.com/carlos-menezes)
18 points by carlos-menezes 27 days ago | hide | past | favorite | 4 comments



Looks good, but would be nice to see a comparison with other major loggers in the JS space. I realize this one is TS-first but most of the time loggers have about 6 methods on a core object, so that alone is not a compelling value prop to me.

Even if I'm in the minority and TS-first is a significant value prop for many users, I think it would be worth nothing on the homepage why this is important for protective users.


Thank you for taking a look.

This is still a major work in progress. The question has been asked many times on other communities and I agree that there should be a section on the README (maybe at the very top) comparing this with other loggers (e.g. how transports work in Caran vs Pino, benchmarks, etc).

It's something I have considered but I've been fleshing out transports asap.

All the best!


Oo this is cool! Looking at some of the transports you built already, it looks fairly simple to do, but I'd appreciate a little documentation on how to BYOTransport (or at least once you think the api for that is solid)!

Was just about to start adding a little more structure to my app's logging, so ill have to play with it then!


Hey! Thanks for taking a look. Indeed, BYOT is fairly straight-forward:

1. Create an implementation of the `Transport` class (you'll only have to implement the `handle` method);

2. Add to the list of transports on your `Logger` instance.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: