code: function ConsoleLogger() {
      EventEmitter.call(this);
  
      var isVerbose = process.argv.indexOf('-d') >= 0 || process.argv.indexOf('--verbose') >= 0;
      // For CordovaError print only the message without stack trace unless we
      // are in a verbose mode.
      process.on('uncaughtException', function(err){
          if ((err instanceof CordovaError) && isVerbose) {
              console.error(err.stack);
          } else {
              console.error(err.message);
          }
          process.exit(1);
      });
  
      this.on('results', console.log);
      this.on('verbose', function () {
          if (isVerbose)
              console.log.apply(console, arguments);
      });
      this.on('info', console.log);
      this.on('log', console.log);
      this.on('warn', console.warn);
  }
docs: @class ConsoleLogger
  @extends EventEmitter
  
  Implementing basic logging for platform. Inherits regular NodeJS
  EventEmitter. All events, emitted on this class instance are immediately
  logged to console.
  
  Also attaches handler to process' uncaught exceptions, so these exceptions
  logged to console similar to regular error events.