Uses of Class
org.apache.log4j.Level
-
Packages that use Level Package Description org.apache.log4j Log4j 1.x compatibility layer.org.apache.log4j.bridge org.apache.log4j.config Log4j 1.x compatibility layer.org.apache.log4j.helpers Log4j 1.x compatibility layer.org.apache.log4j.spi Log4j 1.x compatibility layer.org.apache.log4j.varia -
-
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.protected Level
Category. level
The assigned level of this category.static Level
Level. OFF
TheOFF
has the highest possible rank and is intended to turn off logging.(package private) Level
Hierarchy. threshold
static Level
Level. TRACE
TheTRACE
Level designates finer-grained informational events than theDEBUG
level.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()
Level
Category. getLevel()
Level
Category. getPriority()
Level
Hierarchy. getThreshold()
Gets aLevel
representation of theenable
state.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(java.lang.String sArg)
Convert the string passed as argument to a level.static Level
Level. toLevel(java.lang.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)
void
Hierarchy. setThreshold(Level level)
Enable logging for logging requests with levell
or higher.static Level
Level. toLevel(int val, Level defaultLevel)
Convert an integer passed as argument to a level.static Level
Level. toLevel(java.lang.String sArg, Level defaultLevel)
Convert 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 Modifier and Type Method Description Level
LogEventAdapter. getLevel()
Return the level of this event. -
Uses of Level in org.apache.log4j.config
Fields in org.apache.log4j.config declared as Level Modifier and Type Field Description static Level
Log4j1Configuration. DEFAULT_LEVEL
The effective level used, when the configuration uses a non-existent custom level. -
Uses of Level in org.apache.log4j.helpers
Subclasses of Level in org.apache.log4j.helpers Modifier and Type Class Description private static class
OptionConverter.LevelWrapper
class
UtilLoggingLevel
An extension of the Level class that provides support for java.util.logging Levels.Fields in org.apache.log4j.helpers with type parameters of type Level Modifier and Type Field Description (package private) static java.util.concurrent.ConcurrentMap<java.lang.String,Level>
OptionConverter. LEVELS
Cache of currently known levels.Methods in org.apache.log4j.helpers that return Level Modifier and Type Method Description static Level
OptionConverter. convertLevel(Level level)
static Level
OptionConverter. toLevel(java.lang.String clazz, java.lang.String levelName, Level defaultValue)
Converts a custom priority level to a Level object.static Level
OptionConverter. toLevel(java.lang.String value, Level defaultValue)
Converts a standard or custom priority level to a Level object.static Level
UtilLoggingLevel. toLevel(int val)
Gets level matching numeric value.static Level
UtilLoggingLevel. toLevel(java.lang.String s)
Get level with specified symbolic name.static Level
UtilLoggingLevel. toLevel(java.lang.String sArg, Level defaultLevel)
Get level with specified symbolic name.Methods in org.apache.log4j.helpers with parameters of type Level Modifier and Type Method Description static Level
OptionConverter. toLevel(java.lang.String clazz, java.lang.String levelName, Level defaultValue)
Converts a custom priority level to a Level object.static Level
OptionConverter. toLevel(java.lang.String value, Level defaultValue)
Converts a standard or custom priority level to a Level object.static Level
UtilLoggingLevel. toLevel(java.lang.String sArg, Level defaultLevel)
Get level with specified symbolic name. -
Uses of Level in org.apache.log4j.spi
Methods in org.apache.log4j.spi that return Level Modifier and Type Method Description Level
RootLogger. getChainedLevel()
Gets the assigned level value without walking the logger hierarchy.Level
NOPLogger. getEffectiveLevel()
Level
LoggingEvent. getLevel()
Return the level of this event.Level
LoggerRepository. getThreshold()
Get the repository-wide threshold.Level
NOPLoggerRepository. getThreshold()
Get the repository-wide threshold.Methods in org.apache.log4j.spi with parameters of type Level Modifier and Type Method Description void
NOPLogger. setLevel(Level level)
void
RootLogger. setLevel(Level level)
Sets the log level.void
LoggerRepository. setThreshold(Level level)
Set the repository-wide threshold.void
NOPLoggerRepository. setThreshold(Level level)
Set the repository-wide threshold.Constructors in org.apache.log4j.spi with parameters of type Level Constructor Description LoggingEvent(java.lang.String fqnOfCategoryClass, Category logger, long timeStamp, Level level, java.lang.Object message, java.lang.String threadName, ThrowableInformation throwable, java.lang.String ndc, LocationInfo info, java.util.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 Level Modifier and Type Field Description (package private) Level
LevelRangeFilter. levelMax
(package private) Level
LevelRangeFilter. levelMin
(package private) Level
LevelMatchFilter. levelToMatch
Methods in org.apache.log4j.varia that return Level Modifier and Type Method Description Level
LevelRangeFilter. getLevelMax()
Get the value of theLevelMax
option.Level
LevelRangeFilter. getLevelMin()
Get the value of theLevelMin
option.Methods in org.apache.log4j.varia with parameters of type Level Modifier and Type Method Description void
LevelRangeFilter. setLevelMax(Level levelMax)
Set theLevelMax
option.void
LevelRangeFilter. setLevelMin(Level levelMin)
Set theLevelMin
option.
-