net.openesb.rest.api.resources.LoggerLevelParam Maven / Gradle / Ivy
The newest version!
package net.openesb.rest.api.resources;
import java.util.logging.Level;
/**
*
* @author David BRASSELY (brasseld at gmail.com)
* @author OpenESB Community
*/
public class LoggerLevelParam {
private final Level level;
public LoggerLevelParam(String input) {
if (input != null && input.equalsIgnoreCase("default")) {
level = null;
}
else {
level = Level.parse(input.toUpperCase());
}
}
public Level getLevel() {
return this.level;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy