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 TypeClassDescriptionclassDefines the minimum set of levels recognized by the system, that isOFF,FATAL,ERROR,WARN,INFO,DEBUGandALL.Fields in org.apache.log4j declared as PriorityModifier and TypeFieldDescriptionstatic final PriorityPriority.DEBUGDeprecated.static final PriorityPriority.ERRORDeprecated.UseLevel.ERRORinstead.static final PriorityPriority.FATALDeprecated.UseLevel.FATALinstead.static final PriorityPriority.INFODeprecated.UseLevel.INFOinstead.protected PriorityAppenderSkeleton.thresholdThere is no level threshold filtering by default.static final PriorityPriority.WARNDeprecated.UseLevel.WARNinstead.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 PriorityPriority.toPriority(int val) Deprecated.Please use theLevel.toLevel(int)method instead.static PriorityPriority.toPriority(int val, Priority defaultPriority) Deprecated.Please use theLevel.toLevel(int, Level)method instead.static PriorityPriority.toPriority(String sArg) Deprecated.Please use theLevel.toLevel(String)method instead.static PriorityPriority.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 voidThis method creates a new logging event and logs the event without further checks.booleanAppenderSkeleton.isAsSevereAsThreshold(Priority priority) Check whether the message level is below the appender's threshold.booleanCategory.isEnabledFor(Priority level) Check whether this category is enabled for a givenLevelpassed as parameter.booleanPriority.isGreaterOrEqual(Priority r) Returnstrueif this level has a higher or equal level than the level passed as argument,falseotherwise.voidLog a localized and parameterized message.voidLog a localized message.voidThis is the most generic printing method.voidThis generic form is intended to be used by wrappers.voidThis generic form is intended to be used by wrappers.voidCategory.setPriority(Priority priority) Deprecated.Please useCategory.setLevel(org.apache.log4j.Level)instead.voidAppenderSkeleton.setThreshold(Priority threshold) Set the threshold level.static PriorityPriority.toPriority(int val, Priority defaultPriority) Deprecated.Please use theLevel.toLevel(int, Level)method instead.static PriorityPriority.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 TypeClassDescriptionclassAn 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.levelDeprecated.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.levelDeprecated.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 TypeMethodDescriptionbooleanNOPLogger.isEnabledFor(Priority level) Check whether this category is enabled for a givenLevelpassed as parameter.voidLog a localized and parameterized message.voidLog a localized message.voidThis is the most generic printing method.voidThis generic form is intended to be used by wrappers.voidThis generic form is intended to be used by wrappers.voidNOPLogger.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.DEBUGinstead.