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 | 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.
|
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.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
PatternFormatter.getPriority(Priority priority,
java.lang.String format) |
Get formatted priority string.
|
Modifier and Type | Field | Description |
---|---|---|
private Priority |
PriorityFilteringTarget.m_priority |
|
private Priority |
MemoryTarget.m_threshold |
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) |
Modifier and Type | Method | Description |
---|---|---|
org.apache.log4j.lf5.LogLevel |
LogKitLogRecord.toLogLevel(Priority priority) |
Convert a LogKit
Priority to a LogFactor LogLevel . |
Modifier and Type | Field | Description |
---|---|---|
private Priority |
LoggerOutputStream.m_priority |
Constructor | 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.