Alachisoft.NCache.Common.Logger.CustomLevel Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Alachisoft.NCache.Common.Logger;
/**
* @author Basit Anwer
*/
public class CustomLevel extends org.apache.log4j.Level {
/**
* Creates a custom level to be used be the logger of log4j
*
* @param level 50000 is for FATAL, for increased level use a higher value
* OFF_INT = Integer.MAX_VALUE;
* FATAL_INT = 50000;
* ERROR_INT = 40000;
* WARN_INT = 30000;
* INFO_INT = 20000;
* DEBUG_INT = 10000;
* @param levelStr Name of the trace
* @param syslogEquivalent 0, 3, 4, 6, 7 the lower the value the higher the priority
*/
public CustomLevel(int level, String levelStr, int syslogEquivalent) {
super(level, levelStr, syslogEquivalent);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy