Closed Akkora closed 6 years ago
Thanks for your pull request.
I saw you stop jsnlog.js from sending out more log items by adding these lines: if (allow(this)) { return; }
However, shouldn't that be negated? if (!allow(this)) { return; }
Did you test this change?
You are right, I just fixed it and tested it. It is working now.
Did you have a chance to test this?
I had now. Sorry for the late response. Thanks for the pull request.
The logs will not be sent to server nor to console if global logging is disabled. This fixes problems with already added logs to the appenders that should not be sent.