|
Log4j 0.9.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Priority | |
org.log4j | The main package of log4j. |
org.log4j.spi | Contains part of the System Programming Interface (SPI) needed to extend log4j. |
org.log4j.xml.examples | Example usage of log4j with XML (including source code). |
Uses of Priority in org.log4j |
Fields in org.log4j declared as Priority | |
protected Priority |
AppenderSkeleton.threshold
There is no priority threshold filtering by default. |
protected Priority |
Category.priority
The assigned priority of this category. |
static Priority |
Priority.EMERG
|
static Priority |
Priority.ALERT
|
static Priority |
Priority.CRIT
|
static Priority |
Priority.ERROR
|
static Priority |
Priority.WARN
|
static Priority |
Priority.NOTICE
|
static Priority |
Priority.INFO
|
static Priority |
Priority.DEBUG
|
Methods in org.log4j that return Priority | |
Priority |
Category.getChainedPriority()
Starting from this category, search the category hierarchy for a non-null priority and return it. |
Priority |
Category.getPriority()
Returns the assigned Priority , if any, for this Category. |
static Priority |
Category.getRootPriority()
Deprecated. Use getRoot().getPriority() instead. |
static Priority[] |
Priority.getAllPossiblePriorities()
Return all possible priorities as an array of Priority objects in descending order. |
static Priority |
Priority.toPriority(String sArg)
Converts a String into a Priority. |
static Priority |
Priority.toPriority(String sArg,
Priority deefault)
Converts a String into a Priority. |
static Priority |
Priority.toPriority(int i)
Converts an integer into a Priority. |
Methods in org.log4j with parameters of type Priority | |
boolean |
AppenderSkeleton.isAsSevereAsThreshold(Priority priority)
Check whether the message priority is below the appender's threshold. |
void |
AppenderSkeleton.setThreshold(Priority threshold)
Set the threshold priority. |
static void |
BasicConfigurator.disable(Priority p)
Disable all logging requests of priority equal to or below the priority parameter p , regardless of
the request category. |
boolean |
Category.isEnabledFor(Priority priority)
Check whether this category is enabled for a given Priority passed as parameter. |
void |
Category.l7dlog(Priority priority,
String key,
Throwable t)
Log a localized message. |
void |
Category.l7dlog(Priority priority,
String key,
Object[] params,
Throwable t)
Log a localized and parameterized message. |
void |
Category.log(Priority priority,
String message,
Throwable t)
Use this form for priorities which are not directly supported, namely NOTICE , ALERT , EMERG and CRIT . |
void |
Category.log(Priority priority,
String message)
Use this form for priorities which are not directly supported, namely NOTICE , ALERT , EMERG and CRIT . |
void |
Category.log(String callerFQN,
Priority priority,
String message,
Throwable t)
This method is intended to be invoked by wrapper classes. |
void |
Category.setPriority(Priority priority)
Set the priority of this Category. |
static void |
Category.setRootPriority(Priority priority)
Set the priority of the root category. |
boolean |
Priority.isAsSevereAs(Priority r)
|
static Priority |
Priority.toPriority(String sArg,
Priority deefault)
Converts a String into a Priority. |
Uses of Priority in org.log4j.spi |
Fields in org.log4j.spi declared as Priority | |
Priority |
LoggingEvent.priority
Priority of logging event. |
Methods in org.log4j.spi that return Priority | |
Priority |
RootCategory.getChainedPriority()
Return the assigned priority value without walking the category hierarchy. |
Methods in org.log4j.spi with parameters of type Priority | |
void |
RootCategory.setPriority(Priority priority)
Setting a null value to the root category may have catastrophic results. |
Constructors in org.log4j.spi with parameters of type Priority | |
RootCategory(Priority priority)
The root category names itself as "root". |
|
LoggingEvent(String fqnOfCategoryClass,
Category category,
Priority priority,
String message,
Throwable throwable)
Instantiate a LoggingEvent from the supplied parameters. |
Uses of Priority in org.log4j.xml.examples |
Subclasses of Priority in org.log4j.xml.examples | |
class |
XPriority
This class introduces a new priority level called TRACE. |
Methods in org.log4j.xml.examples that return Priority | |
static Priority |
XPriority.toPriority(String sArg)
|
static Priority |
XPriority.toPriority(int i)
|
|
Log4j 0.9.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |