java.lang.Objectorg.apache.log4j.Priority
Refrain from using this class directly, use
   the Level class instead.
| Field Summary | |
| static int | ALL_INT | 
| static Priority | DEBUGThe DEBUGpriority designates fine-grained
     informational events that are most useful to debug an
     application. | 
| static int | DEBUG_INT | 
| static Priority | ERRORThe ERRORlevel designates error events that
     might still allow the application to continue running. | 
| static int | ERROR_INT | 
| static Priority | FATALThe FATALlevel designates very severe error
     events that will presumably lead the application to abort. | 
| static int | FATAL_INT | 
| static Priority | INFOThe INFOlevel designates informational messages
     that highlight the progress of the application at coarse-grained
     level. | 
| static int | INFO_INT | 
| static int | OFF_INT | 
| static Priority | WARNThe WARNlevel designates potentially harmful situations. | 
| static int | WARN_INT | 
| Constructor Summary | |
| protected  | Priority(int level,
         String levelStr,
         int syslogEquivalent)Instantiate a level object. | 
| Method Summary | |
|  boolean | equals(Object o)Two priorities are equal if their level fields are equal. | 
| static Priority[] | getAllPossiblePriorities()Deprecated. This method will be removed with no replacement. | 
|  int | getSyslogEquivalent()Return the syslog equivalent of this priority as an integer. | 
|  boolean | isGreaterOrEqual(Priority r)Returns trueif this level has a higher or equal
     level than the level passed as argument,falseotherwise. | 
|  int | toInt()Returns the integer representation of this level. | 
| static Priority | toPriority(int val)Convert an integer passed as argument to a priority. | 
| static Priority | toPriority(int val,
           Priority defaultPriority)Convert an integer passed as argument to a priority. | 
| static Priority | toPriority(String sArg)Deprecated. Please use the Level.toLevel(String)method instead.} | 
| static Priority | toPriority(String sArg,
           Priority defaultPriority)Convert the string passed as argument to a priority. | 
|  String | toString()Returns the string representation of this priority. | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final int OFF_INT
public static final int FATAL_INT
public static final int ERROR_INT
public static final int WARN_INT
public static final int INFO_INT
public static final int DEBUG_INT
public static final int ALL_INT
public static final Priority FATAL
FATAL level designates very severe error
     events that will presumably lead the application to abort.
public static final Priority ERROR
ERROR level designates error events that
     might still allow the application to continue running.
public static final Priority WARN
WARN level designates potentially harmful situations.
public static final Priority INFO
INFO level designates informational messages
     that highlight the progress of the application at coarse-grained
     level.
public static final Priority DEBUG
DEBUG priority designates fine-grained
     informational events that are most useful to debug an
     application.
| Constructor Detail | 
protected Priority(int level,
                   String levelStr,
                   int syslogEquivalent)
| Method Detail | 
public boolean equals(Object o)
public final int getSyslogEquivalent()
public boolean isGreaterOrEqual(Priority r)
true if this level has a higher or equal
     level than the level passed as argument, false
     otherwise.  
     You should think twice before overriding the default
     implementation of isGreaterOrEqual method.
public static Priority[] getAllPossiblePriorities()
public final String toString()
public final int toInt()
public static Priority toPriority(String sArg)
Level.toLevel(String) method instead.}
DEBUG.
public static Priority toPriority(int val)
DEBUG.
public static Priority toPriority(int val,
                                  Priority defaultPriority)
public static Priority toPriority(String sArg,
                                  Priority defaultPriority)
defaultPriority.
Copyright © 2000 Micro Focus International Limited.  All rights reserved.  
This document and the proprietary marks and names used herein are protected by international law.