Code example for Handler

Methods: setFormattersetLevel

0
		this.appLogger = Logger.getLogger("ch.ownz.s4m");
		configure(); 
	} 
 
	final void configure() { 
		this.defaultHandler.setFormatter(this.defaultFormatter);
		this.defaultHandler.setLevel(Level.FINE);
		this.rootLogger.setLevel(Level.INFO);
		this.appLogger.setLevel(Level.FINE);
		this.rootLogger.addHandler(this.defaultHandler);
		this.logManager.addLogger(this.rootLogger);
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE