Uses of Class
org.apache.log.Priority
-
Packages that use Priority Package Description org.apache.log Avalon LogKit is the logging framework used throughout the Avalon project.org.apache.log.format This package contains formmaters that serialize LogEvents to strings.org.apache.log.output This package contains some useful output destination LogTargets.org.apache.log.util Utilities suppporting the logging framework. -
-
Uses of Priority in org.apache.log
Fields in org.apache.log declared as Priority Modifier and Type Field Description static PriorityPriority. DEBUGDeveloper orientated messages, usually used during development of product.static PriorityPriority. ERRORA problem has occurred but it is not fatal.static PriorityPriority. FATAL_ERRORSomething caused whole system to fail.static PriorityPriority. INFOUseful information messages such as state changes, client connection, user login etc.private PriorityLogEvent. m_priorityprivate PriorityLogger. m_prioritystatic PriorityPriority. NONEDo not log anything.static 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 Priority Modifier and Type Method Description PriorityLogEvent. getPriority()Get Priority for LogEvent.static PriorityPriority. getPriorityForName(java.lang.String priority)Retrieve a Priority object for the name parameter.Methods in org.apache.log with parameters of type Priority Modifier and Type Method Description booleanPriority. isGreater(Priority other)Test whether this priority is greater than other priority.booleanPriority. isLower(Priority other)Test whether this priority is lower than other priority.booleanPriority. isLowerOrEqual(Priority other)Test whether this priority is lower or equal to other priority.booleanLogger. isPriorityEnabled(Priority priority)Determine if messages of priority will be logged.voidLogger. log(Priority priority, java.lang.String message)Log a event at specific priority with a certain message.voidLogger. log(Priority priority, java.lang.String message, java.lang.Throwable throwable)Log a event at specific priority with a certain message and throwable.private voidLogger. output(Priority priority, java.lang.String message, java.lang.Throwable throwable)Internal method to do actual outputting.voidHierarchy. setDefaultPriority(Priority priority)Set the default priority for hierarchy.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 Priority Modifier and Type Method Description protected java.lang.StringPatternFormatter. getPriority(Priority priority, java.lang.String format)Get formatted priority string. -
Uses of Priority in org.apache.log.output
Fields in org.apache.log.output declared as Priority Modifier and Type Field Description private PriorityPriorityFilteringTarget. m_priorityprivate PriorityMemoryTarget. m_thresholdConstructors in org.apache.log.output with parameters of type Priority Constructor Description MemoryTarget(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 Priority Modifier and Type Field Description private PriorityLoggerOutputStream. m_priorityConstructors in org.apache.log.util with parameters of type Priority Constructor Description LoggerOutputStream(Logger logger, Priority priority)Construct OutputStreamLogger to write to a particular logger at a particular priority.
-