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.db |
Database output destination LogTargets.
|
org.apache.log.output.io |
Stream anf file based output destination LogTargets.
|
org.apache.log.output.jms |
JMS based output destination LogTargets.
|
org.apache.log.output.lf5 |
LogFactor5 (Swing GUI) based LogTarget.
|
org.apache.log.output.net |
Datagram, Socket and SMTP output destination LogTargets.
|
org.apache.log.util |
Utilities suppporting the logging framework.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ErrorHandler.error(java.lang.String message,
java.lang.Throwable throwable,
LogEvent event) |
Log an unrecoverable error.
|
void |
Hierarchy.InnerErrorHandler.error(java.lang.String message,
java.lang.Throwable throwable,
LogEvent event) |
Log an unrecoverable error.
|
private void |
Logger.fireEvent(LogEvent event,
LogTarget[] targets) |
|
private void |
Logger.output(LogEvent event) |
|
void |
LogTarget.processEvent(LogEvent event) |
Process a log event.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
Formatter.format(LogEvent event) |
Serialize log event into string.
|
java.lang.String |
PatternFormatter.format(LogEvent event) |
Format the event according to the pattern.
|
java.lang.String |
RawFormatter.format(LogEvent event) |
Format log event into string.
|
java.lang.String |
SyslogFormatter.format(LogEvent event) |
Format log event into syslog string.
|
java.lang.String |
XMLFormatter.format(LogEvent event) |
Format log event into string.
|
protected java.lang.String |
ExtendedPatternFormatter.formatPatternRun(LogEvent event,
PatternFormatter.PatternRun run) |
Formats a single pattern run (can be extended in subclasses).
|
protected java.lang.String |
PatternFormatter.formatPatternRun(LogEvent event,
PatternFormatter.PatternRun run) |
Formats a single pattern run (can be extended in subclasses).
|
private java.lang.String |
ExtendedPatternFormatter.getMethod(LogEvent event) |
Utility method to format category.
|
protected int |
SyslogFormatter.getSyslogFacility(LogEvent event) |
Get facility associated with event.
|
protected int |
SyslogFormatter.getSyslogPriority(LogEvent event) |
Get syslog priority code for LogEvent.
|
private java.lang.String |
ExtendedPatternFormatter.getThread(LogEvent event) |
Utility thread to format category.
|
Modifier and Type | Field | Description |
---|---|---|
private LogEvent[] |
MemoryTarget.m_buffer |
Modifier and Type | Method | Description |
---|---|---|
protected void |
AbstractOutputTarget.doProcessEvent(LogEvent event) |
Process a log event.
|
protected abstract void |
AbstractTarget.doProcessEvent(LogEvent event) |
Process a log event, via formatting and outputting it.
|
void |
AsyncLogTarget.doProcessEvent(LogEvent event) |
Process a log event by adding it to queue.
|
protected void |
MemoryTarget.doProcessEvent(LogEvent event) |
Process a log event, via formatting and outputting it.
|
protected void |
PriorityFilteringTarget.doProcessEvent(LogEvent event) |
|
private java.lang.String |
AbstractOutputTarget.format(LogEvent event) |
Helper method to format an event into a string, using the formatter if available.
|
void |
AbstractTarget.processEvent(LogEvent event) |
Process a log event, via formatting and outputting it.
|
protected boolean |
MemoryTarget.shouldPush(LogEvent event) |
Determine if LogEvent should initiate a push to target.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
AbstractJDBCTarget.doProcessEvent(LogEvent event) |
Process a log event, via formatting and outputting it.
|
protected abstract void |
AbstractJDBCTarget.output(LogEvent event) |
Output a log event to DB.
|
protected void |
DefaultJDBCTarget.output(LogEvent event) |
Output a log event to DB.
|
protected void |
DefaultJDBCTarget.specifyColumn(java.sql.PreparedStatement statement,
int index,
LogEvent event) |
Adds a single object into statement.
|
protected void |
NormalizedJDBCTarget.specifyColumn(java.sql.PreparedStatement statement,
int index,
LogEvent event) |
Adds a single object into statement.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SafeFileTarget.processEvent(LogEvent event) |
Process a log event, via formatting and outputting it.
|
Modifier and Type | Method | Description |
---|---|---|
javax.jms.Message |
MessageBuilder.buildMessage(javax.jms.Session session,
LogEvent event) |
Creation of a new message.
|
javax.jms.Message |
ObjectMessageBuilder.buildMessage(javax.jms.Session session,
LogEvent event) |
Creation of a new message.
|
javax.jms.Message |
TextMessageBuilder.buildMessage(javax.jms.Session session,
LogEvent event) |
Build a message from the supplied session for the supplied event
|
protected void |
AbstractJMSTarget.doProcessEvent(LogEvent event) |
Process a log event, via formatting and outputting it.
|
private java.lang.String |
TextMessageBuilder.getText(LogEvent event) |
|
private void |
TextMessageBuilder.setProperty(javax.jms.TextMessage message,
int index,
LogEvent event) |
Set a property
|
Modifier and Type | Method | Description |
---|---|---|
void |
LF5LogTarget.processEvent(LogEvent event) |
Process a log event.
|
Constructor | Description |
---|---|
LogKitLogRecord(LogEvent event,
Formatter fmt) |
Create a LogFactor record from a LogKit event
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
SocketOutputTarget.doProcessEvent(LogEvent event) |
To process the LogEvent
|
protected void |
SocketOutputTarget.write(LogEvent event) |
Writes the output as a LogEvent without formatting.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultErrorHandler.error(java.lang.String message,
java.lang.Throwable throwable,
LogEvent event) |
Log an unrecoverable error.
|
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.