Code example for Level

Methods: intValue

0
	DefaultLogger(Level logLevel) {
		this.logLevel = logLevel;
	} 
 
	public boolean isLevelEnabled(int level) {
		return level >= logLevel.intValue();
	} 
 
	public void log(int level, String message) {
		if (isLevelEnabled(level))
			System.out.println(message);
	} 
 
	public void log(int level, String message, Throwable exception) {
		if (isLevelEnabled(level))
			System.out.println(message);
	} 
 
	public void init(RuntimeService service) throws Exception {
 
	}