Uses of Class
org.apache.log4j.Priority
Packages that use Priority
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
-
Uses of Priority in org.apache.log4j
Subclasses of Priority in org.apache.log4jModifier and TypeClassDescriptionclass
Defines the minimum set of levels recognized by the system, that isOFF
,FATAL
,ERROR
,WARN
,INFO
,DEBUG
andALL
.Fields in org.apache.log4j declared as PriorityModifier and TypeFieldDescriptionstatic final Priority
Priority.DEBUG
Deprecated.static final Priority
Priority.ERROR
Deprecated.UseLevel.ERROR
instead.static final Priority
Priority.FATAL
Deprecated.UseLevel.FATAL
instead.static final Priority
Priority.INFO
Deprecated.UseLevel.INFO
instead.protected Priority
AppenderSkeleton.threshold
static final Priority
Priority.WARN
Deprecated.UseLevel.WARN
instead.Methods in org.apache.log4j that return PriorityModifier and TypeMethodDescriptionstatic Priority[]
Priority.getAllPossiblePriorities()
Deprecated.This method will be removed with no replacement.Category.getChainedPriority()
AppenderSkeleton.getThreshold()
static Priority
Priority.toPriority
(int val) Deprecated.Please use theLevel.toLevel(int)
method instead.static Priority
Priority.toPriority
(int val, Priority defaultPriority) Deprecated.Please use theLevel.toLevel(int, Level)
method instead.static Priority
Priority.toPriority
(String sArg) Deprecated.Please use theLevel.toLevel(String)
method instead.static Priority
Priority.toPriority
(String sArg, Priority defaultPriority) Deprecated.Please use theLevel.toLevel(String, Level)
method instead.Methods in org.apache.log4j with parameters of type PriorityModifier and TypeMethodDescriptionvoid
private String
Category.getLevelStr
(Priority priority) boolean
AppenderSkeleton.isAsSevereAsThreshold
(Priority priority) boolean
Category.isEnabledFor
(Priority level) boolean
Priority.isGreaterOrEqual
(Priority r) Returnstrue
if this level has a higher or equal level than the level passed as argument,false
otherwise.void
void
void
void
void
void
Category.setPriority
(Priority priority) void
AppenderSkeleton.setThreshold
(Priority threshold) static Priority
Priority.toPriority
(int val, Priority defaultPriority) Deprecated.Please use theLevel.toLevel(int, Level)
method instead.static Priority
Priority.toPriority
(String sArg, Priority defaultPriority) Deprecated.Please use theLevel.toLevel(String, Level)
method instead. -
Uses of Priority in org.apache.log4j.helpers
Subclasses of Priority in org.apache.log4j.helpersModifier and TypeClassDescriptionprivate static class
class
An extension of the Level class that provides support for java.util.logging Levels.Methods in org.apache.log4j.helpers with parameters of type PriorityModifier and TypeMethodDescriptionstatic Level
OptionConverter.convertLevel
(Priority level) static Level
OptionConverter.createLevel
(Priority level) -
Uses of Priority in org.apache.log4j.spi
Methods in org.apache.log4j.spi that return PriorityMethods in org.apache.log4j.spi with parameters of type PriorityModifier and TypeMethodDescriptionboolean
NOPLogger.isEnabledFor
(Priority level) void
void
void
void
void
void
NOPLogger.setPriority
(Priority priority) Constructors in org.apache.log4j.spi with parameters of type PriorityModifierConstructorDescriptionLoggingEvent
(String fqnOfCategoryClass, Category logger, long timeStamp, Priority level, Object message, Throwable throwable) Instantiate a LoggingEvent from the supplied parameters.LoggingEvent
(String fqnOfCategoryClass, Category logger, Priority level, Object message, Throwable throwable) Instantiate a LoggingEvent from the supplied parameters.
Level.DEBUG
instead.