Just use one connection..
I noticed that it is currently connecting everytime it writes something to logrus.. which in my opinion it shouldn't do..
this is a pull request to make a connection when creating a new hook and using that connection for every Fire
Thanks! :smile: I could not run the test it my local environment. Did you pass it?
hmm.. wonder why it's not passing the test..
I'll look into it again when I have the chance..
@thinkong sorry for my late reply. I checked the test and modified for one connection in #8 .
I add new api New() as your intention, but I feel sorry not to merge your this PR 😢 .
Thank you for your contribution :blush: