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 Priority
Priority. DEBUG
Developer orientated messages, usually used during development of product.static Priority
Priority. ERROR
A problem has occurred but it is not fatal.static Priority
Priority. FATAL_ERROR
Something caused whole system to fail.static Priority
Priority. INFO
Useful information messages such as state changes, client connection, user login etc.private Priority
LogEvent. m_priority
private Priority
Logger. m_priority
static Priority
Priority. NONE
Do not log anything.static Priority
Priority. WARN
A 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 Priority
LogEvent. getPriority()
Get Priority for LogEvent.static Priority
Priority. 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 boolean
Priority. isGreater(Priority other)
Test whether this priority is greater than other priority.boolean
Priority. isLower(Priority other)
Test whether this priority is lower than other priority.boolean
Priority. isLowerOrEqual(Priority other)
Test whether this priority is lower or equal to other priority.boolean
Logger. isPriorityEnabled(Priority priority)
Determine if messages of priority will be logged.void
Logger. log(Priority priority, java.lang.String message)
Log a event at specific priority with a certain message.void
Logger. log(Priority priority, java.lang.String message, java.lang.Throwable throwable)
Log a event at specific priority with a certain message and throwable.private void
Logger. output(Priority priority, java.lang.String message, java.lang.Throwable throwable)
Internal method to do actual outputting.void
Hierarchy. setDefaultPriority(Priority priority)
Set the default priority for hierarchy.void
LogEvent. setPriority(Priority priority)
Set the priority of LogEvent.void
Logger. 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.String
PatternFormatter. 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 Priority
PriorityFilteringTarget. m_priority
private Priority
MemoryTarget. m_threshold
Constructors 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 Priority
LoggerOutputStream. m_priority
Constructors 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.
-