Closed shalomdotnet closed 8 years ago
Can you send a PR which will be helpful for me to understand what you are trying to explain me here? It will surely attach an event but won't output any logs as I check the the config before throwing errors, but I would really appreciate if you have a better solution.
Thanks.
There were two problems in the orginal code:
init()
again, a new listener created, but the old is still active.
Right now, you're not remove the event listener before re-initialize. So, if i wrote:
It's still write to console all the details.
Even worse, in case i want to remote-logging only piece of code, i write:
If an error throw after this, two things happen: