Uses of Class
org.apache.log4j.Level
-
Packages that use Level Package Description org.apache.log4j Log4j 1.x compatibility layer.org.apache.log4j.bridge org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.helpers Log4j 1.x compatibility layer.org.apache.log4j.spi Log4j 1.x compatibility layer.org.apache.log4j.varia -
-
Uses of Level in org.apache.log4j
Fields in org.apache.log4j declared as Level Modifier and Type Field Description static LevelLevel. ALLTheALLhas the lowest possible rank and is intended to turn on all logging.static LevelLevel. DEBUGTheDEBUGLevel designates fine-grained informational events that are most useful to debug an application.static LevelLevel. ERRORTheERRORlevel designates error events that might still allow the application to continue running.static LevelLevel. FATALTheFATALlevel designates very severe error events that will presumably lead the application to abort.static LevelLevel. INFOTheINFOlevel designates informational messages that highlight the progress of the application at coarse-grained level.protected LevelCategory. levelThe assigned level of this category.static LevelLevel. OFFTheOFFhas the highest possible rank and is intended to turn off logging.(package private) LevelHierarchy. thresholdstatic LevelLevel. TRACETheTRACELevel designates finer-grained informational events than theDEBUGlevel.static LevelLevel. WARNTheWARNlevel designates potentially harmful situations.Methods in org.apache.log4j that return Level Modifier and Type Method Description LevelCategory. getEffectiveLevel()LevelCategory. getLevel()LevelCategory. getPriority()LevelHierarchy. getThreshold()Gets aLevelrepresentation of theenablestate.static LevelLevel. toLevel(int val)Convert an integer passed as argument to a level.static LevelLevel. toLevel(int val, Level defaultLevel)Convert an integer passed as argument to a level.static LevelLevel. toLevel(java.lang.String sArg)Convert the string passed as argument to a level.static LevelLevel. 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 Modifier and Type Method Description voidCategory. setLevel(Level level)voidHierarchy. setThreshold(Level level)Enable logging for logging requests with levellor higher.static LevelLevel. toLevel(int val, Level defaultLevel)Convert an integer passed as argument to a level.static LevelLevel. toLevel(java.lang.String sArg, Level defaultLevel)Convert the string passed as argument to a level. -
Uses of Level in org.apache.log4j.bridge
Methods in org.apache.log4j.bridge that return Level Modifier and Type Method Description LevelLogEventAdapter. getLevel()Return the level of this event. -
Uses of Level in org.apache.log4j.config
Fields in org.apache.log4j.config declared as Level Modifier and Type Field Description static LevelLog4j1Configuration. DEFAULT_LEVELThe effective level used, when the configuration uses a non-existent custom level. -
Uses of Level in org.apache.log4j.helpers
Subclasses of Level in org.apache.log4j.helpers Modifier and Type Class Description private static classOptionConverter.LevelWrapperclassUtilLoggingLevelAn extension of the Level class that provides support for java.util.logging Levels.Fields in org.apache.log4j.helpers with type parameters of type Level Modifier and Type Field Description (package private) static java.util.concurrent.ConcurrentMap<java.lang.String,Level>OptionConverter. LEVELSCache of currently known levels.Methods in org.apache.log4j.helpers that return Level Modifier and Type Method Description static LevelOptionConverter. convertLevel(Level level)static LevelOptionConverter. toLevel(java.lang.String clazz, java.lang.String levelName, Level defaultValue)Converts a custom priority level to a Level object.static LevelOptionConverter. toLevel(java.lang.String value, Level defaultValue)Converts a standard or custom priority level to a Level object.static LevelUtilLoggingLevel. toLevel(int val)Gets level matching numeric value.static LevelUtilLoggingLevel. toLevel(java.lang.String s)Get level with specified symbolic name.static LevelUtilLoggingLevel. toLevel(java.lang.String sArg, Level defaultLevel)Get level with specified symbolic name.Methods in org.apache.log4j.helpers with parameters of type Level Modifier and Type Method Description static LevelOptionConverter. toLevel(java.lang.String clazz, java.lang.String levelName, Level defaultValue)Converts a custom priority level to a Level object.static LevelOptionConverter. toLevel(java.lang.String value, Level defaultValue)Converts a standard or custom priority level to a Level object.static LevelUtilLoggingLevel. toLevel(java.lang.String sArg, Level defaultLevel)Get level with specified symbolic name. -
Uses of Level in org.apache.log4j.spi
Methods in org.apache.log4j.spi that return Level Modifier and Type Method Description LevelRootLogger. getChainedLevel()Gets the assigned level value without walking the logger hierarchy.LevelNOPLogger. getEffectiveLevel()LevelLoggingEvent. getLevel()Return the level of this event.LevelLoggerRepository. getThreshold()Get the repository-wide threshold.LevelNOPLoggerRepository. getThreshold()Get the repository-wide threshold.Methods in org.apache.log4j.spi with parameters of type Level Modifier and Type Method Description voidNOPLogger. setLevel(Level level)voidRootLogger. setLevel(Level level)Sets the log level.voidLoggerRepository. setThreshold(Level level)Set the repository-wide threshold.voidNOPLoggerRepository. setThreshold(Level level)Set the repository-wide threshold.Constructors in org.apache.log4j.spi with parameters of type Level Constructor Description 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.RootLogger(Level level)The root logger names itself as "root". -
Uses of Level in org.apache.log4j.varia
Fields in org.apache.log4j.varia declared as Level Modifier and Type Field Description (package private) LevelLevelRangeFilter. levelMax(package private) LevelLevelRangeFilter. levelMin(package private) LevelLevelMatchFilter. levelToMatchMethods in org.apache.log4j.varia that return Level Modifier and Type Method Description LevelLevelRangeFilter. getLevelMax()Get the value of theLevelMaxoption.LevelLevelRangeFilter. getLevelMin()Get the value of theLevelMinoption.Methods in org.apache.log4j.varia with parameters of type Level Modifier and Type Method Description voidLevelRangeFilter. setLevelMax(Level levelMax)Set theLevelMaxoption.voidLevelRangeFilter. setLevelMin(Level levelMin)Set theLevelMinoption.
-