code: function(msg, url, line){
  		var message = "Error in (" + (url || window.location) + ") on line "+ line +" with message (" + msg + ")";
  		this.log(Log4js.Level.FATAL, message, null);	
  	}
docs: Capture main window errors and log as fatal.
  @private