Uses of Class
org.apache.log4j.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
Modifier and TypeFieldDescriptionstatic final Level
Level.ALL
TheALL
has the lowest possible rank and is intended to turn on all logging.static final Level
Level.DEBUG
TheDEBUG
Level designates fine-grained informational events that are most useful to debug an application.static final Level
Level.ERROR
TheERROR
level designates error events that might still allow the application to continue running.static final Level
Level.FATAL
TheFATAL
level designates very severe error events that will presumably lead the application to abort.static final Level
Level.INFO
TheINFO
level designates informational messages that highlight the progress of the application at coarse-grained level.static final Level
Level.OFF
TheOFF
has the highest possible rank and is intended to turn off logging.static final Level
Level.TRACE
TheTRACE
Level designates finer-grained informational events than theDEBUG
level.static final Level
Level.WARN
TheWARN
level designates potentially harmful situations.Modifier and TypeMethodDescriptionCategory.getEffectiveLevel()
Return the level in effect for this category/logger.final Level
Category.getLevel()
Returns the assignedLevel
, if any, for this Category.final Level
Category.getPriority()
Deprecated.static Level
Level.toLevel
(int val) Convert an integer passed as argument to a level.static Level
Convert an integer passed as argument to a level.static Level
Convert the string passed as argument to a level.static Level
Convert the string passed as argument to a level. -
Uses of Level in org.apache.log4j.spi
Modifier and TypeMethodDescriptionLoggerRepository.getThreshold()
Get the repository-wide threshold.Modifier and TypeMethodDescriptionvoid
LoggerRepository.setThreshold
(Level level) Set the repository-wide threshold.
Category.getLevel()
instead.