paulmillr/loggy

notifications = false does not disable notifications.

Closed this issue · 1 comments

According to the docs on the front page, the following should disable the growl notifications:

// Disable system notifications.
logger.notifications = false;

But if I do the following:

var l = require("loggy"); 
l.notifications = false; 
l.error("hello");

I still get a notification.

I need to do this to disable them:

var l = require("loggy");
l._notificationTypes = [];
l.error("hello");

I can't reproduce the issue - tried the exact same as your middle block of code.