Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
Modifier and Type | Class and Description |
---|---|
class |
Level
Defines the minimum set of levels recognized by the system, that is
OFF , FATAL , ERROR ,
WARN , INFO , DEBUG
and ALL . |
Modifier and Type | Field and Description |
---|---|
static Priority |
Priority.DEBUG
Deprecated.
Use
Level.DEBUG instead. |
static Priority |
Priority.ERROR
Deprecated.
Use
Level.ERROR instead. |
static Priority |
Priority.FATAL
Deprecated.
Use
Level.FATAL instead. |
static Priority |
Priority.INFO
Deprecated.
Use
Level.INFO instead. |
static Priority |
Priority.WARN
Deprecated.
Use
Level.WARN instead. |
Modifier and Type | Method and Description |
---|---|
static Priority[] |
Priority.getAllPossiblePriorities()
Deprecated.
This method will be removed with no replacement.
|
Priority |
Category.getChainedPriority() |
static Priority |
Priority.toPriority(int val)
Deprecated.
Please use the
Level.toLevel(int) method instead. |
static Priority |
Priority.toPriority(int val,
Priority defaultPriority)
Deprecated.
Please use the
Level.toLevel(int, Level) method instead. |
static Priority |
Priority.toPriority(java.lang.String sArg)
Deprecated.
Please use the
Level.toLevel(String) method instead. |
static Priority |
Priority.toPriority(java.lang.String sArg,
Priority defaultPriority)
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |
Modifier and Type | Method and Description |
---|---|
void |
Category.forcedLog(java.lang.String fqcn,
Priority level,
java.lang.Object message,
java.lang.Throwable t) |
boolean |
Category.isEnabledFor(Priority level) |
boolean |
Priority.isGreaterOrEqual(Priority r)
Returns
true if this level has a higher or equal
level than the level passed as argument, false
otherwise. |
void |
Category.l7dlog(Priority priority,
java.lang.String key,
java.lang.Object[] params,
java.lang.Throwable t) |
void |
Category.l7dlog(Priority priority,
java.lang.String key,
java.lang.Throwable t) |
void |
Category.log(Priority priority,
java.lang.Object message) |
void |
Category.log(Priority priority,
java.lang.Object message,
java.lang.Throwable t) |
void |
Category.log(java.lang.String fqcn,
Priority priority,
java.lang.Object message,
java.lang.Throwable t) |
void |
Category.setPriority(Priority priority) |
static Priority |
Priority.toPriority(int val,
Priority defaultPriority)
Deprecated.
Please use the
Level.toLevel(int, Level) method instead. |
static Priority |
Priority.toPriority(java.lang.String sArg,
Priority defaultPriority)
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |