|
Log4j 1.3alpha-7 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Level | |
org.apache.log4j | The main log4j package. |
org.apache.log4j.filter | |
org.apache.log4j.helpers | This package is used internally. |
org.apache.log4j.plugins | |
org.apache.log4j.spi | Contains part of the System Programming Interface (SPI) needed to extend log4j. |
Uses of Level in org.apache.log4j |
Subclasses of Level in org.apache.log4j | |
class |
Priority
Deprecated. |
Fields in org.apache.log4j declared as Level | |
static Level |
Level.OFF
The OFF has the highest possible rank and is
intended to turn off logging. |
static Level |
Level.FATAL
The FATAL level designates very severe error
events that will presumably lead the application to abort. |
static Level |
Level.ERROR
The ERROR level designates error events that
might still allow the application to continue running. |
static Level |
Level.WARN
The WARN level designates potentially harmful situations. |
static Level |
Level.INFO
The INFO level designates informational messages
that highlight the progress of the application at coarse-grained
level. |
static Level |
Level.DEBUG
The DEBUG Level designates fine-grained
informational events that are most useful to debug an
application. |
static Level |
Level.TRACE
The TRACE Level designates finer-grained
informational events than the DEBUG
|
static Level |
Level.ALL
The ALL has the lowest possible rank and is intended to
turn on all logging. |
protected Level |
Category.level
The assigned level of this category. |
protected Level |
AppenderSkeleton.threshold
There is no level threshold filtering by default. |
Methods in org.apache.log4j that return Level | |
static Level |
Level.toLevel(String sArg)
Convert the string passed as argument to a level. |
static Level |
Level.toLevel(int val)
Convert an integer passed as argument to a level. |
static Level[] |
Level.getAllPossiblePriorities()
Deprecated. This method will be removed with no replacement. |
static Level |
Level.toLevel(int val,
Level defaultLevel)
Convert an integer passed as argument to a level. |
static Level |
Level.toLevel(String sArg,
Level defaultLevel)
Convert the string passed as argument to a level. |
Level |
Hierarchy.getThreshold()
Returns a Level representation of the enable
state. |
Level |
Category.getEffectiveLevel()
Starting from this category, search the category hierarchy for a non-null level and return it. |
Level |
Category.getChainedPriority()
Deprecated. Please use the the Category.getEffectiveLevel() method instead. |
Level |
Category.getLevel()
Returns the assigned Level , if any, for this Category. |
Level |
Category.getPriority()
Deprecated. Please use Category.getLevel() instead. |
Level |
AppenderSkeleton.getThreshold()
Returns this appenders threshold level. |
Methods in org.apache.log4j with parameters of type Level | |
boolean |
Level.isGreaterOrEqual(Level r)
Returns true if this level has a higher or equal
level than the level passed as argument, false
otherwise.
|
static Level |
Level.toLevel(int val,
Level defaultLevel)
Convert an integer passed as argument to a level. |
static Level |
Level.toLevel(String sArg,
Level defaultLevel)
Convert the string passed as argument to a level. |
void |
Hierarchy.setThreshold(Level l)
Enable logging for logging requests with level l or
higher. |
protected void |
Category.forcedLog(String fqcn,
Level level,
Object message,
Throwable t)
This method creates a new logging event and logs the event without further checks. |
boolean |
Category.isEnabledFor(Level level)
Check whether this category is enabled for a given Level passed
as parameter. |
void |
Category.l7dlog(Level level,
String key,
Throwable t)
Log a localized message. |
void |
Category.l7dlog(Level level,
String key,
Object[] params,
Throwable t)
Log a localized and parameterized message. |
void |
Category.log(Level level,
Object message,
Throwable t)
This generic form is intended to be used by wrappers. |
void |
Category.log(Level level,
Object message)
This generic form is intended to be used by wrappers. |
void |
Category.log(String callerFQCN,
Level level,
Object message,
Throwable t)
This is the most generic printing method. |
void |
Category.setLevel(Level level)
Set the level of this Category. |
boolean |
AppenderSkeleton.isAsSevereAsThreshold(Level level)
Check whether the message level is below the appender's threshold. |
void |
AppenderSkeleton.setThreshold(Level threshold)
Set the threshold level. |
Uses of Level in org.apache.log4j.filter |
Methods in org.apache.log4j.filter that return Level | |
Level |
LevelRangeFilter.getLevelMax()
Get the value of the LevelMax option. |
Level |
LevelRangeFilter.getLevelMin()
Get the value of the LevelMin option. |
Methods in org.apache.log4j.filter with parameters of type Level | |
void |
LevelRangeFilter.setLevelMax(Level levelMax)
Set the LevelMax option. |
void |
LevelRangeFilter.setLevelMin(Level levelMin)
Set the LevelMin option. |
Uses of Level in org.apache.log4j.helpers |
Subclasses of Level in org.apache.log4j.helpers | |
class |
UtilLoggingLevel
An extension of the Level class that provides support for java.util.logging Levels. |
Methods in org.apache.log4j.helpers that return Level | |
static Level |
UtilLoggingLevel.toLevel(int val)
|
static Level |
UtilLoggingLevel.toLevel(String s)
|
static Level |
UtilLoggingLevel.toLevel(String sArg,
Level defaultLevel)
|
static Level |
OptionConverter.toLevel(String value,
Level defaultValue)
Converts a standard or custom priority level to a Level object. |
Level |
LoggerTraverse.getLevelForRootLogger()
Returns the level for the root logger. |
Level |
LoggerTraverse.getLevelForPackage(String packageName)
Returns the effective level for the given package name. |
Methods in org.apache.log4j.helpers with parameters of type Level | |
static Level |
UtilLoggingLevel.toLevel(String sArg,
Level defaultLevel)
|
static Level |
OptionConverter.toLevel(String value,
Level defaultValue)
Converts a standard or custom priority level to a Level object. |
Uses of Level in org.apache.log4j.plugins |
Fields in org.apache.log4j.plugins declared as Level | |
protected Level |
Receiver.thresholdLevel
|
Methods in org.apache.log4j.plugins that return Level | |
Level |
Receiver.getThreshold()
Gets the current threshold setting of the receiver. |
Methods in org.apache.log4j.plugins with parameters of type Level | |
void |
Receiver.setThreshold(Level level)
Sets the receiver theshold to the given level. |
boolean |
Receiver.isAsSevereAsThreshold(Level level)
Returns true if the given level is equals or greater than the current threshold value of the receiver. |
Uses of Level in org.apache.log4j.spi |
Methods in org.apache.log4j.spi that return Level | |
Level |
Thresholdable.getThreshold()
Gets the current threshold setting of the component. |
Level |
RootLogger.getChainedLevel()
Return the assigned level value without walking the category hierarchy. |
Level |
RootCategory.getChainedLevel()
Deprecated. Return the assigned level value without walking the category hierarchy. |
Level |
LoggingEvent.getLevel()
Return the level of this event. |
Level |
LoggerRepository.getThreshold()
Get the repository-wide threshold. |
Methods in org.apache.log4j.spi with parameters of type Level | |
void |
Thresholdable.setThreshold(Level level)
Sets the component theshold to the given level. |
boolean |
Thresholdable.isAsSevereAsThreshold(Level level)
Returns true if the given level is equals or greater than the current threshold value of the component. |
void |
RootLogger.setLevel(Level level)
Setting a null value to the level of the root logger may have catastrophic results. |
void |
RootCategory.setLevel(Level level)
Deprecated. Setting a null value to the level of the root logger may have catastrophic results. |
void |
LoggingEvent.setLevel(Level level)
Set the level of this event. |
void |
LoggerRepository.setThreshold(Level level)
Set the repository-wide threshold. |
Constructors in org.apache.log4j.spi with parameters of type Level | |
RootLogger(Level level)
The root category names itself as "root". |
|
RootCategory(Level level)
Deprecated. The root category names itself as "root". |
|
LoggingEvent(String fqnOfLoggerClass,
Logger logger,
Level level,
Object message,
Throwable throwable)
Instantiate a LoggingEvent from the supplied parameters. |
|
LoggingEvent(String fqnOfCategoryClass,
Logger logger,
long timeStamp,
Level level,
Object message,
Throwable throwable)
Deprecated. Please use the no argument constructor and the setter methods instead. |
|
Log4j 1.3alpha-7 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |