Uses of Class
org.apache.log4j.Level
Packages that use Level
Package
Description
The main log4j package.
This package is used internally.
Provides classes implementing format specifiers in conversion patterns.
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
Contains various appenders, filters and other odds and ends.
-
Uses of Level in org.apache.log4j
Fields in org.apache.log4j declared as LevelModifier and TypeFieldDescriptionstatic final LevelLevel.ALLTheALLhas the lowest possible rank and is intended to turn on all logging.static final LevelLevel.DEBUGTheDEBUGLevel designates fine-grained informational events that are most useful to debug an application.static final LevelLevel.ERRORTheERRORlevel designates error events that might still allow the application to continue running.static final LevelLevel.FATALTheFATALlevel designates very severe error events that will presumably lead the application to abort.static final 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 final LevelLevel.OFFTheOFFhas the highest possible rank and is intended to turn off logging.static final LevelLevel.TRACETheTRACELevel designates finer-grained informational events than theDEBUGlevel.protected static final LevelLogXF.TRACETrace level.static final LevelLevel.WARNTheWARNlevel designates potentially harmful situations.Methods in org.apache.log4j that return LevelModifier and TypeMethodDescriptionCategory.getEffectiveLevel()Starting from this category, search the category hierarchy for a non-null level and return it.final LevelCategory.getLevel()Returns the assignedLevel, if any, for this Category.final LevelCategory.getPriority()Deprecated.Hierarchy.getThreshold()Returns aLevelrepresentation of theenablestate.static LevelLevel.toLevel(int val) Convert an integer passed as argument to a level.static LevelConvert an integer passed as argument to a level.static LevelConvert the string passed as argument to a level.static LevelConvert the string passed as argument to a level.Methods in org.apache.log4j with parameters of type LevelModifier and TypeMethodDescriptionstatic voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specifed level.static voidLogMF.log(Logger logger, Level level, String pattern, Object arg0, Object arg1, Object arg2, Object arg3) Log a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message at specifed level.static voidLogSF.log(Logger logger, Level level, String pattern, Object arg0, Object arg1, Object arg2, Object arg3) Log a parameterized message at specified level.static voidLog a parameterized message at specified level.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLogMF.logrb(Logger logger, Level level, String bundleName, String key, Object param0, Object param1) Log a parameterized message using a pattern from a resource bundle.static voidLogMF.logrb(Logger logger, Level level, String bundleName, String key, Object param0, Object param1, Object param2) Log a parameterized message using a pattern from a resource bundle.static voidLogMF.logrb(Logger logger, Level level, String bundleName, String key, Object param0, Object param1, Object param2, Object param3) Log a parameterized message using a pattern from a resource bundle.static voidLogMF.logrb(Logger logger, Level level, Throwable t, String bundleName, String key, Object[] parameters) Log a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLog a parameterized message using a pattern from a resource bundle.static voidLogSF.logrb(Logger logger, Level level, String bundleName, String key, Object param0, Object param1) Log a parameterized message using a pattern from a resource bundle.static voidLogSF.logrb(Logger logger, Level level, String bundleName, String key, Object param0, Object param1, Object param2) Log a parameterized message using a pattern from a resource bundle.static voidLogSF.logrb(Logger logger, Level level, String bundleName, String key, Object param0, Object param1, Object param2, Object param3) Log a parameterized message using a pattern from a resource bundle.static voidLogSF.logrb(Logger logger, Level level, Throwable t, String bundleName, String key, Object[] parameters) Log a parameterized message using a pattern from a resource bundle.voidSet the level of this Category.voidHierarchy.setThreshold(Level l) Enable logging for logging requests with levellor higher.static LevelConvert an integer passed as argument to a level.static LevelConvert the string passed as argument to a level. -
Uses of Level in org.apache.log4j.helpers
Subclasses of Level in org.apache.log4j.helpersModifier and TypeClassDescriptionclassAn extension of the Level class that provides support for java.util.logging Levels.Methods in org.apache.log4j.helpers that return LevelModifier and TypeMethodDescriptionstatic LevelConverts a standard or custom priority level to a Level object.static LevelUtilLoggingLevel.toLevel(int val) Gets level matching numeric value.static LevelGet level with specified symbolic name.static LevelGet level with specified symbolic name.Methods in org.apache.log4j.helpers with parameters of type Level -
Uses of Level in org.apache.log4j.pattern
Methods in org.apache.log4j.pattern that return LevelConstructors in org.apache.log4j.pattern with parameters of type LevelModifierConstructorDescriptionLogEvent(String fqnOfCategoryClass, Logger logger, long timeStamp, Level level, Object message, String threadName, ThrowableInformation throwable, String ndc, LocationInfo info, Map properties) Create new instance. -
Uses of Level in org.apache.log4j.spi
Methods in org.apache.log4j.spi that return LevelModifier and TypeMethodDescriptionfinal LevelRootCategory.getChainedLevel()Deprecated.Return the assigned level value without walking the category hierarchy.final LevelRootLogger.getChainedLevel()Return the assigned level value without walking the logger hierarchy.NOPLogger.getEffectiveLevel()Starting from this category, search the category hierarchy for a non-null level and return it.LoggingEvent.getLevel()Return the level of this event.LoggerRepository.getThreshold()Get the repository-wide threshold.NOPLoggerRepository.getThreshold()Get the repository-wide threshold.Methods in org.apache.log4j.spi with parameters of type LevelModifier and TypeMethodDescriptionvoidSet the level of this Category.final voidDeprecated.Setting a null value to the level of the root category may have catastrophic results.final voidSetting a null value to the level of the root logger may have catastrophic results.final voidRootCategory.setPriority(Level level) Deprecated.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 LevelModifierConstructorDescriptionLoggingEvent(String fqnOfCategoryClass, Category logger, long timeStamp, Level level, Object message, String threadName, ThrowableInformation throwable, String ndc, LocationInfo info, 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 LevelModifier and TypeMethodDescriptionLevelRangeFilter.getLevelMax()Get the value of theLevelMaxoption.LevelRangeFilter.getLevelMin()Get the value of theLevelMinoption.Methods in org.apache.log4j.varia with parameters of type LevelModifier and TypeMethodDescriptionvoidLevelRangeFilter.setLevelMax(Level levelMax) Set theLevelMaxoption.voidLevelRangeFilter.setLevelMin(Level levelMin) Set theLevelMinoption.
Category.getLevel()instead.