|
Log4j 1.0.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Priority | |
org.apache.log4j | The main package of log4j. |
org.apache.log4j.spi | Contains part of the System Programming Interface (SPI) needed to extend log4j. |
org.apache.log4j.xml.examples | Example usage of log4j with XML (including source code). |
Uses of Priority in org.apache.log4j |
Fields in org.apache.log4j declared as Priority | |
static Priority |
Priority.FATAL
The FATAL priority designates very severe error
events that will presumably lead the application to abort. |
static Priority |
Priority.ERROR
The ERROR priority designates error events that
might still allow the application to continue running. |
static Priority |
Priority.WARN
The WARN priority designates potentially harmful situations. |
static Priority |
Priority.INFO
The INFO priority designates informational messages
that higlight the progress of the application at coarse-grained
level. |
static Priority |
Priority.DEBUG
The DEBUG priority designates fine-grained
informational events that are most useful to debug an
application. |
protected Priority |
AppenderSkeleton.threshold
There is no priority threshold filtering by default. |
protected Priority |
Category.priority
The assigned priority of this category. |
Methods in org.apache.log4j that return Priority | |
static Priority[] |
Priority.getAllPossiblePriorities()
Return all possible priorities as an array of Priority objects in descending order. |
static Priority |
Priority.toPriority(String sArg)
Convert the string passed as argument to a priority. |
static Priority |
Priority.toPriority(int val)
Convert an integerq passed as argument to a priority. |
static Priority |
Priority.toPriority(String sArg,
Priority defaultPriority)
Convert the string passed as argument to a 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. |
Methods in org.apache.log4j with parameters of type 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 |
Priority.isGreaterOrEqual(Priority r)
Returns true if this priority has a higher or equal
priority than the priority passed as argument, false
otherwise. |
static Priority |
Priority.toPriority(String sArg,
Priority defaultPriority)
Convert the string passed as argument to a 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. |
protected void |
Category.forcedLog(String fqn,
Priority priority,
Object message,
Throwable t)
This method renders the message passed as a
oaraneter and logs immediately without further checks. |
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,
Object message,
Throwable t)
This generic form is intended to be used by wrappers. |
void |
Category.log(Priority priority,
Object message)
This generic form is intended to be used by wrappers. |
void |
Category.log(String callerFQN,
Priority priority,
Object message,
Throwable t)
This is the most generic printing method. |
void |
Category.setPriority(Priority priority)
Set the priority of this Category. |
Uses of Priority in org.apache.log4j.spi |
Fields in org.apache.log4j.spi declared as Priority | |
Priority |
LoggingEvent.priority
Priority of logging event. |
Methods in org.apache.log4j.spi that return Priority | |
Priority |
RootCategory.getChainedPriority()
Return the assigned priority value without walking the category hierarchy. |
Methods in org.apache.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.apache.log4j.spi with parameters of type Priority | |
LoggingEvent(String fqnOfCategoryClass,
Category category,
Priority priority,
String message,
Throwable throwable)
Instantiate a LoggingEvent from the supplied parameters. |
|
RootCategory(Priority priority)
The root category names itself as "root". |
Uses of Priority in org.apache.log4j.xml.examples |
Subclasses of Priority in org.apache.log4j.xml.examples | |
class |
XPriority
This class introduces a new priority level called TRACE. |
Methods in org.apache.log4j.xml.examples that return Priority | |
static Priority |
XPriority.toPriority(String sArg)
|
static Priority |
XPriority.toPriority(int i)
|
|
Log4j 1.0.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |