Log4j 1.1b7

Uses of Class
org.apache.log4j.Priority

Packages that use Priority
org.apache.log4j The main package of log4j.  
org.apache.log4j.examples.appserver This package extends log4j by adding extra logging attributes useful in distributed application server environments.  
org.apache.log4j.helpers This package is used internally.  
org.apache.log4j.spi Contains part of the System Programming Interface (SPI) needed to extend log4j. 
org.apache.log4j.varia Contains various appenders, filters and other odds and ends.  
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
protected  Priority Category.priority
          The assigned priority of this category.
protected  Priority AppenderSkeleton.threshold
          There is no priority threshold filtering by default.
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 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()
          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.
 Priority AppenderSkeleton.getThreshold()
          Returns this appenders threshold 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 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
static void BasicConfigurator.disable(Priority p)
          Deprecated. Use Category.getDefaultHierarchy().disable(p) instead.
protected  void Category.forcedLog(String fqcn, Priority priority, Object message, Throwable t)
          This method creates a new logging event and logs the event 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 callerFQCN, Priority priority, Object message, Throwable t)
          This is the most generic printing method.
 void Category.setPriority(Priority priority)
          Set the priority of this Category.
 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.
 void Hierarchy.disable(Priority p)
          Disable all logging requests of priority equal to or below the priority parameter p, for all categories in this hierarchy.
 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(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.examples.appserver
 

Methods in org.apache.log4j.examples.appserver with parameters of type Priority
protected  void AppServerCategory.forcedLog(String fqn, Priority priority, Object message, Throwable t)
          This method is overridden to ensure an instance of AppServerLoggingEvent is sent to the appenders.
 

Constructors in org.apache.log4j.examples.appserver with parameters of type Priority
AppServerLoggingEvent(String fqnOfCategoryClass, AppServerCategory category, Priority priority, Object message, Throwable throwable)
          Instantiate an AppServerLoggingEvent from the supplied parameters.
 

Uses of Priority in org.apache.log4j.helpers
 

Methods in org.apache.log4j.helpers that return Priority
static Priority OptionConverter.toPriority(String value, Priority defaultValue)
          Converts a standard or custom priority level to a Priority object.
 

Methods in org.apache.log4j.helpers with parameters of type Priority
static Priority OptionConverter.toPriority(String value, Priority defaultValue)
          Converts a standard or custom priority level to a Priority object.
 

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 priority of 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, Object 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.varia
 

Methods in org.apache.log4j.varia that return Priority
 Priority PriorityRangeFilter.getPriorityMax()
          Get the value of the PriorityMax option.
 Priority PriorityRangeFilter.getPriorityMin()
          Get the value of the PriorityMin option.
 

Methods in org.apache.log4j.varia with parameters of type Priority
 void PriorityRangeFilter.setPriorityMax(Priority priorityMax)
          Set the PriorityMax option.
 void PriorityRangeFilter.setPriorityMin(Priority priorityMin)
          Set the PriorityMin option.
 

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, Priority defaultValue)
           
static Priority XPriority.toPriority(int i)
           
 

Methods in org.apache.log4j.xml.examples with parameters of type Priority
static Priority XPriority.toPriority(String sArg, Priority defaultValue)
           
 


Log4j 1.1b7

Please notify me about new log4j releases.