code: function consoleHandler(logData) {
      'use strict';
      var consoleArgs = logData.hasOwnProperty('args') ? logData.args : logData.hasOwnProperty('logEntry') ? [logData.logEntry] : arguments;
  
      switch (logData.level) {
          case messageLevel.ERROR:
              origConErr.apply(console, consoleArgs);
              break;
          case messageLevel.WARN:
              origConWarn.apply(console, consoleArgs);
              break;
          case messageLevel.INFO:
              origConInfo.apply(console, consoleArgs);
              break;
          default:
              throw new Error('Invalid log level defined');
      }
  }
docs: @module {Function} api.utils.logging.consoleHandler consoleHandler
  @parent api.utils.logging
  @description A logging handler that raises writes log messages to the browser console.
  
  
  @param logData