docs: function consoleLogHandler(logAttributes) {
    var logValues = '', key;
  
    if (console) {
      // detect IE
      if (window.attachEvent) {
        // Put attributes into a format that are easy for IE 8 to read.
        for (key in logAttributes) {
          if (!logAttributes.hasOwnProperty(key)) {
            continue;
          }
          logValues += key + '=' + logAttributes[key] + '\n';
        }
  
        console.error(logValues);
      } else if (typeof logAttributes.msg !== 'undefined') {
        console.error(logAttributes.msg, logAttributes);
      } else {
        console.error(logAttributes);
      }
    }
  }