|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Level | |
---|---|
org.apache.log4j | Log4j 1.x compatibility layer. |
org.apache.log4j.spi | Log4j 1.x compatibility layer. |
Uses of Level in org.apache.log4j |
---|
Fields in org.apache.log4j declared as Level | |
---|---|
static Level |
Level.ALL
The ALL has the lowest possible rank and is intended to
turn on all logging. |
static Level |
Level.DEBUG
The DEBUG Level designates fine-grained
informational events that are most useful to debug an
application. |
static Level |
Level.ERROR
The ERROR level designates error events that
might still allow the application to continue running. |
static Level |
Level.FATAL
The FATAL level designates very severe error
events that will presumably lead the application to abort. |
static Level |
Level.INFO
The INFO level designates informational messages
that highlight the progress of the application at coarse-grained
level. |
static Level |
Level.OFF
The OFF has the highest possible rank and is
intended to turn off logging. |
static Level |
Level.TRACE
The TRACE Level designates finer-grained
informational events than the DEBUG level. |
static Level |
Level.WARN
The WARN level designates potentially harmful situations. |
Methods in org.apache.log4j that return Level | |
---|---|
Level |
Category.getEffectiveLevel()
|
Level |
Category.getLevel()
|
Level |
Category.getPriority()
|
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 | |
---|---|
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 | |
---|---|
Level |
LoggerRepository.getThreshold()
Get the repository-wide threshold. |
Methods in org.apache.log4j.spi with parameters of type Level | |
---|---|
void |
LoggerRepository.setThreshold(Level level)
Set the repository-wide threshold. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.