2 comments

  • ericyd1 day ago
    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.

    • carlos-menezes15 hours ago
      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!

  • bpev12 hours ago
    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!

    • carlos-menezes10 hours ago
      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.