Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Log4j 1.2.8
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.log4j.Priority

Packages that use Priority
org.apache.log4j | The main log4j package.
org.apache.log4j.spi | Contains part of the System Programming Interface (SPI) needed to extend 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
`protected Priority` | `AppenderSkeleton.threshold` There is no level threshold filtering by default.
`static Priority` | `Priority.FATAL` The `FATAL` level designates very severe error events that will presumably lead the application to abort.
`static Priority` | `Priority.ERROR` The `ERROR` level designates error events that might still allow the application to continue running.
`static Priority` | `Priority.WARN` The `WARN` level designates potentially harmful situations.
`static Priority` | `Priority.INFO` The `INFO` level designates informational messages that highlight 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.

Methods in org.apache.log4j that return Priority
`Priority` | `Category.getChainedPriority()` Deprecated. Please use the the `Category.getEffectiveLevel()` method instead.
`Priority` | `AppenderSkeleton.getThreshold()` Returns this appenders threshold level.
`static Priority[]` | `Priority.getAllPossiblePriorities()` Deprecated. This method will be removed with no replacement.
`static Priority` | `Priority.toPriority(String sArg)` Deprecated. Please use the `Level.toLevel(String)` method instead.}
`static Priority` | `Priority.toPriority(int val)` Convert an integer passed as argument to a priority.
`static Priority` | `Priority.toPriority(int val, Priority defaultPriority)` Convert an integer passed as argument to a priority.
`static Priority` | `Priority.toPriority(String sArg, Priority defaultPriority)` Convert the string passed as argument to a priority.

Methods in org.apache.log4j with parameters of type Priority
`protected void` | `Category.forcedLog(String fqcn, Priority level, Object message, Throwable t)` This method creates a new logging event and logs the event without further checks.
`boolean` | `Category.isEnabledFor(Priority level)` Check whether this category is enabled for a given `Level` 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 callerFQCN, Priority level, Object message, Throwable t)` This is the most generic printing method.
`void` | `Category.setPriority(Priority priority)` Deprecated. Please use `Category.setLevel(org.apache.log4j.Level)` instead.
`boolean` | `AppenderSkeleton.isAsSevereAsThreshold(Priority priority)` Check whether the message level is below the appender's threshold.
`void` | `AppenderSkeleton.setThreshold(Priority threshold)` Set the threshold level.
`boolean` | `Priority.isGreaterOrEqual(Priority r)` Returns `true` if this level has a higher or equal level than the level passed as argument, `false` otherwise.
`static Priority` | `Priority.toPriority(int val, Priority defaultPriority)` Convert an integer passed as argument to a priority.
`static Priority` | `Priority.toPriority(String sArg, Priority defaultPriority)` Convert the string passed as argument to a priority.

Uses of Priority in org.apache.log4j.spi

Fields in org.apache.log4j.spi declared as Priority
`Priority` | `LoggingEvent.level` Deprecated. This field will be marked as private in future releases. Please do not access it directly. Use the `LoggingEvent.getLevel()` method instead.

Constructors in org.apache.log4j.spi with parameters of type Priority
`LoggingEvent(String fqnOfCategoryClass, Category logger, Priority priority, Object message, Throwable throwable)` Instantiate a LoggingEvent from the supplied parameters.
`LoggingEvent(String fqnOfCategoryClass, Category logger, long timeStamp, Priority priority, Object message, Throwable throwable)` Instantiate a LoggingEvent from the supplied parameters.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Log4j 1.2.8
PREV NEXT | FRAMES NO FRAMES

Copyright 2000-2002 Apache Software Foundation.