|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Priority | |
|---|---|
| org.apache.log4j | |
| Uses of Priority in org.apache.log4j |
|---|
| Subclasses of Priority in org.apache.log4j | |
|---|---|
class |
Level
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR,
WARN, INFODEBUG and
ALL. |
| Fields in org.apache.log4j declared as Priority | |
|---|---|
static Priority |
Priority.DEBUG
Deprecated. Use Level.DEBUG instead. |
static Priority |
Priority.ERROR
Deprecated. Use Level.ERROR instead. |
static Priority |
Priority.FATAL
Deprecated. Use Level.FATAL instead. |
static Priority |
Priority.INFO
Deprecated. Use Level.INFO instead. |
static Priority |
Priority.WARN
Deprecated. Use Level.WARN instead. |
| Methods in org.apache.log4j that return Priority | |
|---|---|
static Priority[] |
Priority.getAllPossiblePriorities()
Deprecated. This method will be removed with no replacement. |
static Priority |
Priority.toPriority(int val)
Deprecated. Please use the Level.toLevel(int) method instead. |
static Priority |
Priority.toPriority(int val,
Priority defaultPriority)
Deprecated. Please use the Level.toLevel(int,Level) method instead. |
static Priority |
Priority.toPriority(java.lang.String sArg)
Deprecated. Please use the Level.toLevel(String) method instead. |
static Priority |
Priority.toPriority(java.lang.String sArg,
Priority defaultPriority)
Deprecated. Please use the Level.toLevel(String,Level) method instead. |
| Methods in org.apache.log4j with parameters of type Priority | |
|---|---|
boolean |
Logger.isEnabledFor(Priority priority)
Check whether this category is enabled for the given Level. |
boolean |
Category.isEnabledFor(Priority priority)
Check whether this category is enabled for a given Level passed as parameter. |
boolean |
Priority.isGreaterOrEqual(Priority r)
Returns true if this level has a higher or equal
level than the level passed as argument, false
otherwise. |
void |
Category.log(Priority priority,
java.lang.Object msg)
Log a message with the code level priority. |
void |
Category.log(Priority priority,
java.lang.Object message,
java.lang.Throwable t)
This generic form is intended to be used by wrappers. |
void |
Category.log(java.lang.String callerFQCN,
Priority level,
java.lang.Object message,
java.lang.Throwable t)
This is the most generic printing method. |
static Priority |
Priority.toPriority(int val,
Priority defaultPriority)
Deprecated. Please use the Level.toLevel(int,Level) method instead. |
static Priority |
Priority.toPriority(java.lang.String sArg,
Priority defaultPriority)
Deprecated. Please use the Level.toLevel(String,Level) method instead. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||