Uses of Class
org.apache.log4j.Level
Packages that use Level
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
-
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.(package private) LevelHierarchy.thresholdstatic final LevelLevel.TRACETheTRACELevel designates finer-grained informational events than theDEBUGlevel.static final LevelLevel.WARNTheWARNlevel designates potentially harmful situations.Methods in org.apache.log4j that return LevelModifier and TypeMethodDescriptionCategory.getEffectiveLevel()final LevelCategory.getLevel()final LevelCategory.getPriority()Hierarchy.getThreshold()Gets 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 TypeMethodDescriptionvoidvoidHierarchy.setThreshold(Level level) 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.bridge
Methods in org.apache.log4j.bridge that return 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 LevelOptionConverter.convertLevel(Level level) static 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 LevelModifier and TypeMethodDescriptionstatic LevelOptionConverter.convertLevel(Level level) static LevelConverts a standard or custom priority level to a Level object.static LevelGet level with specified symbolic name. -
Uses of Level in org.apache.log4j.spi
Methods in org.apache.log4j.spi that return LevelModifier and TypeMethodDescriptionfinal LevelRootLogger.getChainedLevel()Gets the assigned level value without walking the logger hierarchy.NOPLogger.getEffectiveLevel()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 TypeMethodDescriptionvoidfinal voidSets 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 LevelModifierConstructorDescriptionLoggingEvent(String fqnOfCategoryClass, Category logger, long timeStamp, Level level, Object message, String threadName, ThrowableInformation throwable, String ndc, LocationInfo info, 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 LevelModifier and TypeFieldDescription(package private) LevelLevelRangeFilter.levelMax(package private) LevelLevelRangeFilter.levelMin(package private) LevelLevelMatchFilter.levelToMatchMethods 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.