Uses of Class
org.apache.log4j.Priority
-
Packages that use Priority Package Description org.apache.log4j The main log4j package.org.apache.log4j.helpers This package is used internally.org.apache.log4j.spi 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.log4j Modifier and Type Class Description classLevelDefines the minimum set of levels recognized by the system, that isOFF,FATAL,ERROR,WARN,INFODEBUG andALL.Fields in org.apache.log4j declared as Priority Modifier and Type Field Description static PriorityPriority. DEBUGDeprecated.UseLevel.DEBUGinstead.static PriorityPriority. ERRORDeprecated.UseLevel.ERRORinstead.static PriorityPriority. FATALDeprecated.UseLevel.FATALinstead.static PriorityPriority. INFODeprecated.UseLevel.INFOinstead.protected PriorityAppenderSkeleton. thresholdThere is no level threshold filtering by default.static PriorityPriority. WARNDeprecated.UseLevel.WARNinstead.Methods in org.apache.log4j that return Priority Modifier and Type Method Description static Priority[]Priority. getAllPossiblePriorities()Deprecated.This method will be removed with no replacement.PriorityCategory. getChainedPriority()Deprecated.Please use the theCategory.getEffectiveLevel()method instead.PriorityAppenderSkeleton. 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(java.lang.String sArg)Deprecated.Please use theLevel.toLevel(String)method instead.static PriorityPriority. toPriority(java.lang.String sArg, Priority defaultPriority)Deprecated.Please use theLevel.toLevel(String, Level)method instead.Methods in org.apache.log4j with parameters of type Priority Modifier and Type Method Description protected voidCategory. forcedLog(java.lang.String fqcn, Priority level, java.lang.Object message, java.lang.Throwable t)This 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.voidCategory. l7dlog(Priority priority, java.lang.String key, java.lang.Object[] params, java.lang.Throwable t)Log a localized and parameterized message.voidCategory. l7dlog(Priority priority, java.lang.String key, java.lang.Throwable t)Log a localized message.voidCategory. log(java.lang.String callerFQCN, Priority level, java.lang.Object message, java.lang.Throwable t)This is the most generic printing method.voidCategory. log(Priority priority, java.lang.Object message)This generic form is intended to be used by wrappers.voidCategory. log(Priority priority, java.lang.Object message, java.lang.Throwable t)This 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(java.lang.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.helpers Modifier and Type Class Description classUtilLoggingLevelAn extension of the Level class that provides support for java.util.logging Levels. -
Uses of Priority in org.apache.log4j.spi
Fields in org.apache.log4j.spi declared as Priority Modifier and Type Field Description PriorityLoggingEvent. levelDeprecated.This field will be marked as private in future releases.Methods in org.apache.log4j.spi that return Priority Modifier and Type Method Description PriorityNOPLogger. getChainedPriority()Methods in org.apache.log4j.spi with parameters of type Priority Modifier and Type Method Description booleanNOPLogger. isEnabledFor(Priority level)Check whether this category is enabled for a givenLevelpassed as parameter.voidNOPLogger. l7dlog(Priority priority, java.lang.String key, java.lang.Object[] params, java.lang.Throwable t)Log a localized and parameterized message.voidNOPLogger. l7dlog(Priority priority, java.lang.String key, java.lang.Throwable t)Log a localized message.voidNOPLogger. log(java.lang.String callerFQCN, Priority level, java.lang.Object message, java.lang.Throwable t)This is the most generic printing method.voidNOPLogger. log(Priority priority, java.lang.Object message)This generic form is intended to be used by wrappers.voidNOPLogger. log(Priority priority, java.lang.Object message, java.lang.Throwable t)This 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 Priority Constructor Description LoggingEvent(java.lang.String fqnOfCategoryClass, Category logger, long timeStamp, Priority level, java.lang.Object message, java.lang.Throwable throwable)Instantiate a LoggingEvent from the supplied parameters.LoggingEvent(java.lang.String fqnOfCategoryClass, Category logger, Priority level, java.lang.Object message, java.lang.Throwable throwable)Instantiate a LoggingEvent from the supplied parameters.
-