src/logger.js
function Logger (level, name) {
  if (name) {
    debug = require('debug')(typeof name === 'string' ? name : 'vxx');
  }
  this.level = level;
  this.debug('Logger started');
}
function Logger (level, name) {
  if (name) {
    debug = require('debug')(typeof name === 'string' ? name : 'vxx');
  }
  this.level = level;
  this.debug('Logger started');
}
function Logger ( level , name ) { if ( name ) { debug = require ( 'debug' ) ( typeof name === 'string' ? name : 'vxx' ) ; } this . level = level ; this . debug ( 'Logger started' ) ; }
Creates a logger object.
@constructor
Creates a logger object .