diff --git a/index.js b/index.js index 9d0b16d..706b9d7 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ var levels = [ 'error' ]; -function getLogger(namespace){ +function getLogger(namespace) { var logger = sparkles(namespace); levels.forEach(function(level){ @@ -21,9 +21,9 @@ function getLogger(namespace){ return logger; } -function makeLogLevel(level){ +function makeLogLevel(level) { return function(msg){ - if(typeof msg === 'string'){ + if (typeof msg === 'string') { msg = format.apply(null, arguments); }