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 and Description |
---|---|
void |
Hierarchy.InnerErrorHandler.error(String message,
Throwable throwable,
LogEvent event)
Log an unrecoverable error.
|
void |
ErrorHandler.error(String message,
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 and Description |
---|---|
String |
XMLFormatter.format(LogEvent event)
Format log event into string.
|
String |
SyslogFormatter.format(LogEvent event)
Format log event into syslog string.
|
String |
RawFormatter.format(LogEvent event)
Format log event into string.
|
String |
PatternFormatter.format(LogEvent event)
Format the event according to the pattern.
|
String |
Formatter.format(LogEvent event)
Serialize log event into string.
|
protected String |
PatternFormatter.formatPatternRun(LogEvent event,
PatternFormatter.PatternRun run)
Formats a single pattern run (can be extended in subclasses).
|
protected String |
ExtendedPatternFormatter.formatPatternRun(LogEvent event,
PatternFormatter.PatternRun run)
Formats a single pattern run (can be extended in subclasses).
|
private 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 String |
ExtendedPatternFormatter.getThread(LogEvent event)
Utility thread to format category.
|
Modifier and Type | Field and Description |
---|---|
private LogEvent[] |
MemoryTarget.m_buffer |
Modifier and Type | Method and Description |
---|---|
protected void |
PriorityFilteringTarget.doProcessEvent(LogEvent event) |
protected void |
MemoryTarget.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 abstract void |
AbstractTarget.doProcessEvent(LogEvent event)
Process a log event, via formatting and outputting it.
|
protected void |
AbstractOutputTarget.doProcessEvent(LogEvent event)
Process a log event.
|
private 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 and Description |
---|---|
protected void |
AbstractJDBCTarget.doProcessEvent(LogEvent event)
Process a log event, via formatting and outputting it.
|
protected void |
DefaultJDBCTarget.output(LogEvent event)
Output a log event to DB.
|
protected abstract void |
AbstractJDBCTarget.output(LogEvent event)
Output a log event to DB.
|
protected void |
NormalizedJDBCTarget.specifyColumn(PreparedStatement statement,
int index,
LogEvent event)
Adds a single object into statement.
|
protected void |
DefaultJDBCTarget.specifyColumn(PreparedStatement statement,
int index,
LogEvent event)
Adds a single object into statement.
|
Modifier and Type | Method and Description |
---|---|
void |
SafeFileTarget.processEvent(LogEvent event)
Process a log event, via formatting and outputting it.
|
Modifier and Type | Method and Description |
---|---|
javax.jms.Message |
TextMessageBuilder.buildMessage(javax.jms.Session session,
LogEvent event)
Build a message from the supplied session for the supplied event
|
javax.jms.Message |
ObjectMessageBuilder.buildMessage(javax.jms.Session session,
LogEvent event)
Creation of a new message.
|
javax.jms.Message |
MessageBuilder.buildMessage(javax.jms.Session session,
LogEvent event)
Creation of a new message.
|
protected void |
AbstractJMSTarget.doProcessEvent(LogEvent event)
Process a log event, via formatting and outputting it.
|
private String |
TextMessageBuilder.getText(LogEvent event) |
private void |
TextMessageBuilder.setProperty(javax.jms.TextMessage message,
int index,
LogEvent event)
Set a property
|
Modifier and Type | Method and Description |
---|---|
void |
LF5LogTarget.processEvent(LogEvent event)
Process a log event.
|
Constructor and Description |
---|
LogKitLogRecord(LogEvent event,
Formatter fmt)
Create a LogFactor record from a LogKit event
|
Modifier and Type | Method and 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 and Description |
---|---|
void |
DefaultErrorHandler.error(String message,
Throwable throwable,
LogEvent event)
Log an unrecoverable error.
|
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.