code: function attachToConsole(log) {
      'use strict';
      console.error = function () {
          log({args: arguments, level: messageLevel.ERROR});
      };
      console.warn = function () {
          log({args: arguments, level: messageLevel.WARN});
      };
      console.info = function () {
          log({args: arguments, level: messageLevel.INFO});
      };
  }
docs: @module {Function} api.utils.logging.consoleHandler consoleHandler
  @parent api.utils.logging
  @description Initializer for the console handler, returns the console handler function
  
  @param log
  @returns {Function}