Code example for Level

Methods: intValue

0
 
	// Sends the supplied String to the console/log the output handler has if the debug level is high enough 
	@Override 
	public void outputDebugToConsole(String message, Level messageLevel, Object... params)
	{ 
		if (debugLevel != null && messageLevel.intValue() >= debugLevel.intValue())
			writeLog(Level.INFO, formatDebugMessage(message, messageLevel, params));
	} 
 
	// Gets the current debug output level 
	@Override 
	public Level getDebugLevel()
	{ 
		return debugLevel;
	} 
 
	// Sets the debug output level 
	@Override 
	public void setDebugLevel(Level level)
	{ 
		if (!level.equals(debugLevel))