Code example for Logger

Methods: setLevel

0
@SuppressWarnings("serial") 
public class LoadingScreen extends AbstractScreen { 
 
	private LoadingScreen() 
	{ 
		logger.setLevel(Level.OFF);
 
		this.setBounds(0, 0, ScreensHolder.getInstance().getWidth(),
				ScreensHolder.getInstance().getHeight()); 
		this.setBackground(Color.BLACK);
		this.setOpaque(true);
	} 
	 
	public static LoadingScreen getInstance() { 
 
		//logger.info("Giving INSTANCE"); 
		if(INSTANCE==null)
			return INSTANCE = new LoadingScreen();
		else 
			return INSTANCE;
	}