diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/cobalt.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cobalt.js b/lib/cobalt.js index d129714..4c6944d 100644 --- a/lib/cobalt.js +++ b/lib/cobalt.js @@ -147,6 +147,8 @@ Class(Cobalt, 'Console')({ for (i = 1; i < arguments.length; i++) { if (typeof arguments[i] === 'undefined') { logObjectArray.push(co.buildLog("undefined", severity)); + } else if (arguments[i] === null) { + logObjectArray.push(co.buildLog("null", severity)); } else { logObjectArray.push(co.buildLog(arguments[i], severity)); } |