config.register("priorityDetail", "", 5, true, false, "LogConfigHandler.detaildPriorityThreshold",
"LogConfigHandler.detaildPriorityThresholdLong",
new StringCallback() {
@Override
public String get() {
LoggerHookChain chain = Logger.getChain();
return chain.getDetailedThresholds();
}
@Override
public void set(String val) throws InvalidConfigValueException {
LoggerHookChain chain = Logger.getChain();
try {
chain.setDetailedThresholds(val);
} catch (InvalidThresholdException e) {
throw new InvalidConfigValueException(e.getMessage());
}
}
});