Bug 166800 [ErrorHandling] The Status Handling hooking into Eclipse
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Policy.java
* be checked.
     */
    public static boolean DEBUG_DIALOG_NO_PARENT = DEFAULT;
    /**
     * A flag to indicate whether actions are being traced.
     */
    public static boolean TRACE_ACTIONS = DEFAULT;
    
    /**
     * A flag to indicate whether toolbars are being traced.
     */
    public static boolean TRACE_TOOLBAR = DEFAULT;
    /**
     * Returns the dummy log to use if none has been set
     */
    private static ILogger getDummyLog() {
        return new ILogger() {
            public void log(IStatus status) {
                System.err.println(status.getMessage());
            }
        };
    }
    /**
     * Sets the logger used by JFace to log errors.
     * 
     * @param logger the logger to use, or <code>null</code> to use the default logger
     * @since 3.1
     */
    public static void setLog(ILogger logger) {
        log = logger;