java.lang.Objectorg.apache.log4j.Priority
org.apache.log4j.Level
Defines the minimum set of levels recognized by the system, that is
   OFF, FATAL, ERROR,
   WARN, INFODEBUG and
   ALL.
   
The Level class may be subclassed to define a larger
   level set.
| Field Summary | |
| static Level | ALLThe ALLhas the lowest possible rank and is intended to
     turn on all logging. | 
| static Level | DEBUGThe DEBUGLevel designates fine-grained
     informational events that are most useful to debug an
     application. | 
| static Level | ERRORThe ERRORlevel designates error events that
     might still allow the application to continue running. | 
| static Level | FATALThe FATALlevel designates very severe error
     events that will presumably lead the application to abort. | 
| static Level | INFOThe INFOlevel designates informational messages
     that highlight the progress of the application at coarse-grained
     level. | 
| static Level | OFFThe OFFhas the highest possible rank and is
     intended to turn off logging. | 
| static Level | WARNThe WARNlevel designates potentially harmful situations. | 
| Fields inherited from class org.apache.log4j.Priority | 
| ALL_INT, DEBUG_INT, ERROR_INT, FATAL_INT, INFO_INT, OFF_INT, WARN_INT | 
| Constructor Summary | |
| protected  | Level(int level,
      String levelStr,
      int syslogEquivalent)Instantiate a Level object. | 
| Method Summary | |
| static Level | toLevel(int val)Convert an integer passed as argument to a level. | 
| static Level | toLevel(int val,
        Level defaultLevel)Convert an integer passed as argument to a level. | 
| static Level | toLevel(String sArg)Convert the string passed as argument to a level. | 
| static Level | toLevel(String sArg,
        Level defaultLevel)Convert the string passed as argument to a level. | 
| Methods inherited from class org.apache.log4j.Priority | 
| equals, getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toPriority, toPriority, toPriority, toString | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final Level OFF
OFF has the highest possible rank and is
     intended to turn off logging.
public static final Level FATAL
FATAL level designates very severe error
     events that will presumably lead the application to abort.
public static final Level ERROR
ERROR level designates error events that
     might still allow the application to continue running.
public static final Level WARN
WARN level designates potentially harmful situations.
public static final Level INFO
INFO level designates informational messages
     that highlight the progress of the application at coarse-grained
     level.
public static final Level DEBUG
DEBUG Level designates fine-grained
     informational events that are most useful to debug an
     application.
public static final Level ALL
ALL has the lowest possible rank and is intended to
     turn on all logging.
| Constructor Detail | 
protected Level(int level,
                String levelStr,
                int syslogEquivalent)
| Method Detail | 
public static Level toLevel(String sArg)
DEBUG.
public static Level toLevel(int val)
DEBUG.
public static Level toLevel(int val,
                            Level defaultLevel)
public static Level toLevel(String sArg,
                            Level defaultLevel)
defaultLevel.
Copyright © 2000 Micro Focus International Limited.  All rights reserved.  
This document and the proprietary marks and names used herein are protected by international law.