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 Priority
Priority.DEBUG
Developer orientated messages, usually used during development of product.static final Priority
Priority.ERROR
A problem has occurred but it is not fatal.static final Priority
Priority.FATAL_ERROR
Something caused whole system to fail.static final 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 final Priority
Priority.NONE
Do not log anything.static final 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 PriorityModifier and TypeMethodDescriptionfinal Priority
LogEvent.getPriority()
Get Priority for LogEvent.static Priority
Priority.getPriorityForName
(String priority) Retrieve a Priority object for the name parameter.Methods in org.apache.log with parameters of type PriorityModifier and TypeMethodDescriptionboolean
Test whether this priority is greater than other priority.boolean
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.final boolean
Logger.isPriorityEnabled
(Priority priority) Determine if messages of priority will be logged.final void
Log a event at specific priority with a certain message.final void
Log a event at specific priority with a certain message and throwable.private final void
Internal method to do actual outputting.void
Hierarchy.setDefaultPriority
(Priority priority) Set the default priority for hierarchy.final 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 PriorityModifier and TypeMethodDescriptionprotected String
PatternFormatter.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 Priority
PriorityFilteringTarget.m_priority
private Priority
MemoryTarget.m_threshold
Constructors 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.