code: function log(type, ...args) {
      // The stack type allows to filter logs in testing
      // since the stack files paths vary between systems
      if (debug && ('debug' === type || 'stack' === type)) {
        debug(...args);
        return;
      }
      logger[logger[type] ? type : 'error'](...args);
    }
docs: Logging function
  @param  {String}  type
  Log type
  @param  {...*}    args
  Log contents
  @return {void}
  @example
  log('debug', 'Luke, I am your father!')