Uses of Class
org.apache.log4j.Level
Packages that use Level
Package
Description
An rather minimal but sufficient implementation redirecting all
calls to a log4j logger to a logback logger.
-
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.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.static final LevelLevel.WARNTheWARNlevel designates potentially harmful situations.Methods in org.apache.log4j that return LevelModifier and TypeMethodDescriptionCategory.getEffectiveLevel()Return the level in effect for this category/logger.final LevelCategory.getLevel()Returns the assignedLevel, if any, for this Category.final LevelCategory.getPriority()Deprecated.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 Level -
Uses of Level in org.apache.log4j.spi
Methods in org.apache.log4j.spi that return LevelModifier and TypeMethodDescriptionLoggerRepository.getThreshold()Get the repository-wide threshold.Methods in org.apache.log4j.spi with parameters of type LevelModifier and TypeMethodDescriptionvoidLoggerRepository.setThreshold(Level level) Set the repository-wide threshold.
Category.getLevel()instead.