Uses of Class
org.apache.log.Priority
Packages that use Priority
Package
Description
Avalon LogKit is the logging framework used throughout
the Avalon project.
This package contains formmaters that serialize LogEvents to strings.
This package contains some useful output destination LogTargets.
Utilities suppporting the logging framework.
-
Uses of Priority in org.apache.log
Fields in org.apache.log declared as PriorityModifier and TypeFieldDescriptionstatic final PriorityPriority.DEBUGDeveloper orientated messages, usually used during development of product.static final PriorityPriority.ERRORA problem has occurred but it is not fatal.static final PriorityPriority.FATAL_ERRORSomething caused whole system to fail.static final PriorityPriority.INFOUseful information messages such as state changes, client connection, user login etc.private PriorityLogEvent.m_priorityprivate PriorityLogger.m_prioritystatic final PriorityPriority.NONEDo not log anything.static final PriorityPriority.WARNA problem or conflict has occurred but it may be recoverable, then again it could be the start of the system failing.Methods in org.apache.log that return PriorityModifier and TypeMethodDescriptionfinal PriorityLogEvent.getPriority()Get Priority for LogEvent.static PriorityPriority.getPriorityForName(String priority) Retrieve a Priority object for the name parameter.Methods in org.apache.log with parameters of type PriorityModifier and TypeMethodDescriptionbooleanTest whether this priority is greater than other priority.booleanTest whether this priority is lower than other priority.booleanPriority.isLowerOrEqual(Priority other) Test whether this priority is lower or equal to other priority.final booleanLogger.isPriorityEnabled(Priority priority) Determine if messages of priority will be logged.final voidLog a event at specific priority with a certain message.final voidLog a event at specific priority with a certain message and throwable.private final voidInternal method to do actual outputting.voidHierarchy.setDefaultPriority(Priority priority) Set the default priority for hierarchy.final voidLogEvent.setPriority(Priority priority) Set the priority of LogEvent.voidLogger.setPriority(Priority priority) Set the priority for this logger. -
Uses of Priority in org.apache.log.format
Methods in org.apache.log.format with parameters of type PriorityModifier and TypeMethodDescriptionprotected StringPatternFormatter.getPriority(Priority priority, String format) Get formatted priority string. -
Uses of Priority in org.apache.log.output
Fields in org.apache.log.output declared as PriorityModifier and TypeFieldDescriptionprivate final PriorityPriorityFilteringTarget.m_priorityprivate PriorityMemoryTarget.m_thresholdConstructors in org.apache.log.output with parameters of type PriorityModifierConstructorDescriptionMemoryTarget(LogTarget target, int size, Priority threshold) Creation of a new instance of the memory target.PriorityFilteringTarget(Priority priority) PriorityFilteringTarget(Priority priority, boolean closeWrappedTarget) -
Uses of Priority in org.apache.log.util
Fields in org.apache.log.util declared as PriorityConstructors in org.apache.log.util with parameters of type PriorityModifierConstructorDescriptionLoggerOutputStream(Logger logger, Priority priority) Construct OutputStreamLogger to write to a particular logger at a particular priority.