@Deprecated
    public static Priority toPriority(int val) {
        return toPriority(val, Priority.DEBUG);
    }
@deprecated Please use the {@link Level#toLevel(int)} method instead.   

@param val an integer to convert to a Priority
@return the corresponding Priority
log4j-over-slf4j/src/main/java/org/apache/log4j/Priority.java