/** * Allow a UI to notify other parts of the program that it has finished setting all the options * that it's going to set. */ public static void setUIFinished() { uiFinished = true; // Set the special debug flag. debug = getBoolean("debug"); // NON-NLS if (debug) { Log.setLevel(LogLevel.DEBUG); } }
/** * Sets the minimum {@link LogLevel} to display. * * <p>This change takes effect right away. */ public static void setLogLevel(String value) { sLogLevel = LogLevel.getByString(value); Log.setLevel(sLogLevel); }