Field | Description |
---|---|
org.apache.log4j.Priority.DEBUG |
Use
Level.DEBUG instead. |
org.apache.log4j.Priority.ERROR |
Use
Level.ERROR instead. |
org.apache.log4j.Priority.FATAL |
Use
Level.FATAL instead. |
org.apache.log4j.Priority.INFO |
Use
Level.INFO instead. |
org.apache.log4j.Priority.WARN |
Use
Level.WARN instead. |
Method | Description |
---|---|
org.apache.log4j.Priority.getAllPossiblePriorities() |
This method will be removed with no replacement.
|
org.apache.log4j.Category.getChainedPriority() |
Replaced by
Category.getEffectiveLevel() |
org.apache.log4j.Category.getInstance(Class) |
Replaced by
Logger.getLogger(String) |
org.apache.log4j.Category.getInstance(String) |
Replaced by
Logger.getLogger(String) |
org.apache.log4j.Category.getPriority() |
Replaced by
Category.getLevel() |
org.apache.log4j.Category.getRoot() |
Replaced by
Logger.getRootLogger() |
org.apache.log4j.Priority.toPriority(int) |
Please use the
Level.toLevel(int) method instead. |
org.apache.log4j.Priority.toPriority(int, Priority) |
Please use the
Level.toLevel(int, Level) method instead. |
org.apache.log4j.Priority.toPriority(String) |
Please use the
Level.toLevel(String) method instead. |
org.apache.log4j.Priority.toPriority(String, Priority) |
Please use the
Level.toLevel(String, Level) method instead. |
Copyright © 2019. All rights reserved.