|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLevel
com.bea.logging.LogPriority
public class LogPriority
Class LogPriority extends org.apache.log4j.Priority for the purpose of wrapping the underlying implementation, and adding the value AUDIT to the default set of priorities
Field Summary | |
---|---|
static int |
AUDIT_INT
|
Constructor Summary | |
---|---|
protected |
LogPriority(int level,
String strLevel,
int syslogEquivalent)
Constructor for the LogPriority class. |
Method Summary | |
---|---|
static Level |
intToLevel(int i)
|
static Priority |
intToPriority(int i)
Converts an integer into a Priority. |
static Priority |
strToPriority(String sArg)
Converts a String into a Priority. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AUDIT_INT
Constructor Detail |
---|
protected LogPriority(int level, String strLevel, int syslogEquivalent)
value
- Should be one of the priority constants.Method Detail |
---|
public static Priority strToPriority(String sArg)
If the argument is not one of "DEBUG", "INFO", ..., "EMERG"
then the the default value Priority.DEBUG
is
returned by the call to the superclass' method.
public static Priority intToPriority(int i) throws IllegalArgumentException
If the argument is not one of the static ints above,
then the the default value #DEBUG_INT
is
returned by the call to the superclass' method.
IllegalArgumentException
public static Level intToLevel(int i) throws IllegalArgumentException
IllegalArgumentException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |