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

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

Packages that use Level
org.apache.log4j | The main log4j package.
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.

Uses of Level in org.apache.log4j

Fields in org.apache.log4j declared as Level
`static Level` | `Level.ALL` The `ALL` has the lowest possible rank and is intended to turn on all logging.
`static Level` | `Level.DEBUG` The `DEBUG` Level designates fine-grained informational events that are most useful to debug an application.
`static Level` | `Level.ERROR` The `ERROR` level designates error events that might still allow the application to continue running.
`static Level` | `Level.FATAL` The `FATAL` level designates very severe error events that will presumably lead the application to abort.
`static Level` | `Level.INFO` The `INFO` level designates informational messages that highlight the progress of the application at coarse-grained level.
`protected Level` | `Category.level` The assigned level of this category.
`static Level` | `Level.OFF` The `OFF` has the highest possible rank and is intended to turn off logging.
`static Level` | `Level.TRACE` The `TRACE` Level designates finer-grained informational events than the `DEBUG`
`static Level` | `Level.WARN` The `WARN` level designates potentially harmful situations.

Methods in org.apache.log4j that return Level
`Level` | `Category.getEffectiveLevel()` Starting from this category, search the category hierarchy for a non-null level and return it.
`Level` | `Category.getLevel()` Returns the assigned `Level`, if any, for this Category.
`Level` | `Category.getPriority()` Deprecated. Please use `Category.getLevel()` instead.
`Level` | `Hierarchy.getThreshold()` Returns a `Level` representation of the `enable` state.
`static Level` | `Level.toLevel(int val)` Convert an integer passed as argument to a level.
`static Level` | `Level.toLevel(int val, Level defaultLevel)` Convert an integer passed as argument to a level.
`static Level` | `Level.toLevel(java.lang.String sArg)` Convert the string passed as argument to a level.
`static Level` | `Level.toLevel(java.lang.String sArg, Level defaultLevel)` Convert the string passed as argument to a level.

Methods in org.apache.log4j with parameters of type Level
`void` | `Category.setLevel(Level level)` Set the level of this Category.
`void` | `Hierarchy.setThreshold(Level l)` Enable logging for logging requests with level `l` or higher.
`static Level` | `Level.toLevel(int val, Level defaultLevel)` Convert an integer passed as argument to a level.
`static Level` | `Level.toLevel(java.lang.String sArg, Level defaultLevel)` Convert the string passed as argument to a level.

Uses of Level in org.apache.log4j.helpers

Methods in org.apache.log4j.helpers that return Level
`static Level` | `OptionConverter.toLevel(java.lang.String value, Level defaultValue)` Converts a standard or custom priority level to a Level object.

Methods in org.apache.log4j.helpers with parameters of type Level
`static Level` | `OptionConverter.toLevel(java.lang.String value, Level defaultValue)` Converts a standard or custom priority level to a Level object.

Uses of Level in org.apache.log4j.spi

Methods in org.apache.log4j.spi that return Level
`Level` | `RootLogger.getChainedLevel()` Return the assigned level value without walking the logger hierarchy.
`Level` | `RootCategory.getChainedLevel()` Deprecated. Return the assigned level value without walking the category hierarchy.
`Level` | `NOPLogger.getEffectiveLevel()` Starting from this category, search the category hierarchy for a non-null level and return it.
`Level` | `LoggingEvent.getLevel()` Return the level of this event.
`Level` | `NOPLoggerRepository.getThreshold()` Get the repository-wide threshold.
`Level` | `LoggerRepository.getThreshold()` Get the repository-wide threshold.

Methods in org.apache.log4j.spi with parameters of type Level
`void` | `NOPLogger.setLevel(Level level)` Set the level of this Category.
`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 category may have catastrophic results.
`void` | `RootCategory.setPriority(Level level)` Deprecated.
`void` | `NOPLoggerRepository.setThreshold(Level level)` Set the repository-wide threshold.
`void` | `LoggerRepository.setThreshold(Level level)` Set the repository-wide threshold.

Constructors in org.apache.log4j.spi with parameters of type Level
`LoggingEvent(java.lang.String fqnOfCategoryClass, Category logger, long timeStamp, Level level, java.lang.Object message, java.lang.String threadName, ThrowableInformation throwable, java.lang.String ndc, LocationInfo info, java.util.Map properties)` Create new instance.
`RootCategory(Level level)` Deprecated. The root category names itself as "root".
`RootLogger(Level level)` The root logger names itself as "root".

Uses of Level in org.apache.log4j.varia

Methods in org.apache.log4j.varia 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.varia with parameters of type Level
`void` | `LevelRangeFilter.setLevelMax(Level levelMax)` Set the `LevelMax` option.
`void` | `LevelRangeFilter.setLevelMin(Level levelMin)` Set the `LevelMin` option.

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

Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.