var logToConsole = function() {
  if (smockerConfiguration.verbose) { console.info.apply(null, arguments); }
};
var logRequest = function(s) {
  logToConsole('[smocker-request]: ', s);
};
var logResponse = function(s) {
  logToConsole('[smocker-response]: ', s);
};

var checkValuesDefined = function() {
  _.each(_.toArray(arguments), function(varName) {
    _.inject(varName.split('.'), function(obj, varName) {
      if (_.isUndefined(obj[varName])) {
        throw varName + ' is not defined. Make sure you load the required library before smocker.js';
      }
      return obj[varName];
    }, window);
  });
};
var logToConsole = function() {
  if (smockerConfiguration.verbose) { console.info.apply(console, arguments); }
};
var logRequest = function(s) {
  logToConsole('[smocker-request]: ', s);
};
var logResponse = function(s) {
  logToConsole('[smocker-response]: ', s);
};

var checkValuesDefined = function() {
  _.each(_.toArray(arguments), function(varName) {
    _.inject(varName.split('.'), function(obj, varName) {
      if (_.isUndefined(obj[varName])) {
        throw varName + ' is not defined. Make sure you load the required library before smocker.js';
      }
      return obj[varName];
    }, window);
  });
};
fix console logging