Uses of Class
org.apache.log4j.Level
-
Packages that use Level Package Description org.apache.log4j An rather minimal but sufficient implementation redirecting all calls to a log4j logger to a logback logger.org.apache.log4j.spi -
-
Uses of Level in org.apache.log4j
Fields in org.apache.log4j declared as Level Modifier and Type Field Description static Level
Level. ALL
TheALL
has the lowest possible rank and is intended to turn on all logging.static Level
Level. DEBUG
TheDEBUG
Level designates fine-grained informational events that are most useful to debug an application.static Level
Level. ERROR
TheERROR
level designates error events that might still allow the application to continue running.static Level
Level. FATAL
TheFATAL
level designates very severe error events that will presumably lead the application to abort.static Level
Level. INFO
TheINFO
level designates informational messages that highlight the progress of the application at coarse-grained level.static Level
Level. OFF
TheOFF
has the highest possible rank and is intended to turn off logging.static Level
Level. TRACE
TheTRACE
Level designates finer-grained informational events than theDEBUG
static Level
Level. WARN
TheWARN
level designates potentially harmful situations.Methods in org.apache.log4j that return Level Modifier and Type Method Description Level
Category. getEffectiveLevel()
Return the level in effect for this category/logger.Level
Category. getLevel()
Returns the assignedLevel
, if any, for this Category.Level
Category. getPriority()
Deprecated.Please useCategory.getLevel()
instead.static Level
Level. toLevel(int val)
Convert an integer passed as argument to a level.static Level
Level. toLevel(int val, Level defaultLevel)
Convert an integer passed as argument to a level.static Level
Level. toLevel(String sArg)
Convert the string passed as argument to a level.static Level
Level. toLevel(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 void
Category. setLevel(Level level)
static Level
Level. toLevel(int val, Level defaultLevel)
Convert an integer passed as argument to a level.static Level
Level. toLevel(String sArg, Level defaultLevel)
Convert the string passed as argument to a level. -
Uses of Level in org.apache.log4j.spi
Methods in org.apache.log4j.spi that return Level Modifier and Type Method Description Level
LoggerRepository. getThreshold()
Get the repository-wide threshold.Methods in org.apache.log4j.spi with parameters of type Level Modifier and Type Method Description void
LoggerRepository. setThreshold(Level level)
Set the repository-wide threshold.
-