SLevelpublic class SLevel extends Level
Fields Summary |
---|
public static final int | INT_CORE_WARNING | public static final int | INT_CORE_INFO | public static final int | INT_THREAD | public static final int | INT_HTTP | public static final int | INT_ACCESS_VIOLATION | public static final Level | CORE_WARNING | public static final Level | CORE_INFO | public static final Level | THREAD | public static final Level | HTTP | public static final Level | ACCESS_VIOLATION |
Constructors Summary |
---|
SLevel(int c, String a, int b)
super(c,a,b);
|
Methods Summary |
---|
public static org.apache.log4j.Level | toLevel(int val)
return toLevel(val, Level.DEBUG);
| public static org.apache.log4j.Level | toLevel(int val, org.apache.log4j.Level defaultLevel)
switch (val) {
case INT_CORE_WARNING: return SLevel.CORE_WARNING;
case INT_CORE_INFO: return SLevel.CORE_INFO;
case INT_THREAD: return SLevel.THREAD;
case INT_HTTP: return SLevel.HTTP;
case INT_ACCESS_VIOLATION: return SLevel.ACCESS_VIOLATION;
default: return Level.toLevel(val, defaultLevel);
}
|
|