Uses of Class
org.apache.log4j.Priority
Packages that use Priority
Package
Description
The main log4j package.
This package is used internally.
Provides classes implementing format specifiers in conversion patterns.
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
-
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
There is no level threshold filtering by default.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()
Deprecated.Please use the theCategory.getEffectiveLevel()
method instead.AppenderSkeleton.getThreshold()
Returns this appenders threshold level.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 TypeMethodDescriptionprotected void
This method creates a new logging event and logs the event without further checks.boolean
AppenderSkeleton.isAsSevereAsThreshold
(Priority priority) Check whether the message level is below the appender's threshold.boolean
Category.isEnabledFor
(Priority level) Check whether this category is enabled for a givenLevel
passed as parameter.boolean
Priority.isGreaterOrEqual
(Priority r) Returnstrue
if this level has a higher or equal level than the level passed as argument,false
otherwise.void
Log a localized and parameterized message.void
Log a localized message.void
This is the most generic printing method.void
This generic form is intended to be used by wrappers.void
This generic form is intended to be used by wrappers.void
Category.setPriority
(Priority priority) Deprecated.Please useCategory.setLevel(org.apache.log4j.Level)
instead.void
AppenderSkeleton.setThreshold
(Priority threshold) Set the threshold level.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 TypeClassDescriptionclass
An extension of the Level class that provides support for java.util.logging Levels. -
Uses of Priority in org.apache.log4j.pattern
Fields in org.apache.log4j.pattern declared as PriorityModifier and TypeFieldDescriptionLogEvent.level
Deprecated.This field will be marked as private in future releases.Constructors in org.apache.log4j.pattern with parameters of type PriorityModifierConstructorDescriptionLogEvent
(String fqnOfCategoryClass, Category logger, long timeStamp, Priority level, Object message, Throwable throwable) Instantiate a LoggingEvent from the supplied parameters.LogEvent
(String fqnOfCategoryClass, Category logger, Priority level, Object message, Throwable throwable) Instantiate a LoggingEvent from the supplied parameters. -
Uses of Priority in org.apache.log4j.spi
Fields in org.apache.log4j.spi declared as PriorityModifier and TypeFieldDescriptionLoggingEvent.level
Deprecated.This field will be marked as private in future releases.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) Check whether this category is enabled for a givenLevel
passed as parameter.void
Log a localized and parameterized message.void
Log a localized message.void
This is the most generic printing method.void
This generic form is intended to be used by wrappers.void
This generic form is intended to be used by wrappers.void
NOPLogger.setPriority
(Priority priority) Set the level of this Category.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.