4 ms·
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 BYOTrans
by bpev 2y 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-menezes 2y agoHey! 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.