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.output.lf5 |
LogFactor5 (Swing GUI) based LogTarget.
|
org.apache.log.util |
Utilities suppporting the logging framework.
|
Modifier and Type | Field and 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 |
Logger.m_priority |
private Priority |
LogEvent.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.
|
Modifier and Type | Method and Description |
---|---|
Priority |
LogEvent.getPriority()
Get Priority for LogEvent.
|
static Priority |
Priority.getPriorityForName(String priority)
Retrieve a Priority object for the name parameter.
|
Modifier and Type | Method and 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,
String message)
Log a event at specific priority with a certain message.
|
void |
Logger.log(Priority priority,
String message,
Throwable throwable)
Log a event at specific priority with a certain message and throwable.
|
private void |
Logger.output(Priority priority,
String message,
Throwable throwable)
Internal method to do actual outputting.
|
void |
Hierarchy.setDefaultPriority(Priority priority)
Set the default priority for hierarchy.
|
void |
Logger.setPriority(Priority priority)
Set the priority for this logger.
|
void |
LogEvent.setPriority(Priority priority)
Set the priority of LogEvent.
|
Modifier and Type | Method and Description |
---|---|
protected String |
PatternFormatter.getPriority(Priority priority,
String format)
Get formatted priority string.
|
Modifier and Type | Field and Description |
---|---|
private Priority |
PriorityFilteringTarget.m_priority |
private Priority |
MemoryTarget.m_threshold |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
LogLevel |
LogKitLogRecord.toLogLevel(Priority priority)
Convert a LogKit
Priority to a LogFactor LogLevel . |
Modifier and Type | Field and Description |
---|---|
private Priority |
LoggerOutputStream.m_priority |
Constructor and Description |
---|
LoggerOutputStream(Logger logger,
Priority priority)
Construct OutputStreamLogger to write to a particular logger at a particular priority.
|
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.