egorFiNE/node-graylog — pull request #4 by pilsy (2012-10-12 11:23:39+00:00)
Title: Fixed issue with LOG_EMERG

Hey mate, great plugin - very handy ~ i have been trying to implement chunking but until then i have fixed this problem - it has been annoying me in a project that im working on where we use this.

The code that this replaces was short sighted, if you used LOG_EMERG (0) with your old code then it is overridden and turned into LOG_INFO

var a = 0;
var b = a || 6;

b === 6