Bug 172655 [ErrorHandling] [StatusHandling] Hooking into JFace dialogs
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Policy.java
public static void setLog(ILogger logger) {
		log = logger;
	}
	/**
	 * Sets the dialog used by JFace to show errors and warnings.
	 * 
	 * @param dialog
	 *            the dialog to use, or <code>null</code> to use the default
	 *            dialog
	 * @since 3.3
	 */
	public static void setLogDialog(ILogDialog dialog) {
		logDialog = dialog;
	}
	/**
	 * Returns the logger used by JFace to log errors.
	 * <p>
	 * The default logger prints the status to <code>System.err</code>.
	 * </p>
	 * 
	 * @return the logger
	 * @since 3.1
	 */
	public static ILogger getLog() {
		if (log == null) {
			log = getDummyLog();
		}
		return log;
	}
	/**