Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
Modifier and Type | Class | 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 | 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. |
protected Priority |
AppenderSkeleton.threshold |
|
static Priority |
Priority.WARN |
Deprecated.
Use
Level.WARN instead. |
Modifier and Type | Method | Description |
---|---|---|
static Priority[] |
Priority.getAllPossiblePriorities() |
Deprecated.
This method will be removed with no replacement.
|
Priority |
Category.getChainedPriority() |
|
Priority |
AppenderSkeleton.getThreshold() |
|
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(String sArg) |
Deprecated.
Please use the
Level.toLevel(String) method instead. |
static Priority |
Priority.toPriority(String sArg,
Priority defaultPriority) |
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |
Modifier and Type | Method | Description |
---|---|---|
void |
Category.forcedLog(String fqcn,
Priority level,
Object message,
Throwable t) |
|
boolean |
AppenderSkeleton.isAsSevereAsThreshold(Priority priority) |
|
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,
String key,
Object[] params,
Throwable t) |
|
void |
Category.l7dlog(Priority priority,
String key,
Throwable t) |
|
void |
Category.log(String fqcn,
Priority priority,
Object message,
Throwable t) |
|
void |
Category.log(Priority priority,
Object message) |
|
void |
Category.log(Priority priority,
Object message,
Throwable t) |
|
void |
Category.setPriority(Priority priority) |
|
void |
AppenderSkeleton.setThreshold(Priority threshold) |
|
static Priority |
Priority.toPriority(int val,
Priority defaultPriority) |
Deprecated.
Please use the
Level.toLevel(int, Level) method instead. |
static Priority |
Priority.toPriority(String sArg,
Priority defaultPriority) |
Deprecated.
Please use the
Level.toLevel(String, Level) method instead. |
Copyright © 1999-2018. 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.