Code coverage report for src/log.js

Statements: 60% (3 / 5)      Branches: 100% (0 / 0)      Functions: 50% (1 / 2)      Lines: 60% (3 / 5)      Ignored: none     

All files » src/ » log.js
1 2 3 4 5 6 7 8 9 10 11 12 13  1   1 3                
'use strict';
var debug = require('debug');
 
module.exports = function(thing){
  return {
    log: function(){
      var args = Array.prototype.slice.call(arguments);
      console.log(args.join(' '));
    },
    debug: debug('esw:' + thing)
  };
};