Uses of Class
org.apache.log.LogEvent
-
Packages that use LogEvent 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. -
-
Uses of LogEvent in org.apache.log
Methods in org.apache.log with parameters of type LogEvent 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. -
Uses of LogEvent in org.apache.log.format
Methods in org.apache.log.format with parameters of type LogEvent 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. -
Uses of LogEvent in org.apache.log.output
Fields in org.apache.log.output declared as LogEvent Modifier and Type Field Description private LogEvent[]
MemoryTarget. m_buffer
Methods in org.apache.log.output with parameters of type LogEvent 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. -
Uses of LogEvent in org.apache.log.output.db
Methods in org.apache.log.output.db with parameters of type LogEvent 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. -
Uses of LogEvent in org.apache.log.output.io
Methods in org.apache.log.output.io with parameters of type LogEvent Modifier and Type Method Description void
SafeFileTarget. processEvent(LogEvent event)
Process a log event, via formatting and outputting it. -
Uses of LogEvent in org.apache.log.output.jms
Methods in org.apache.log.output.jms with parameters of type LogEvent 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 eventprotected 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 -
Uses of LogEvent in org.apache.log.output.lf5
Methods in org.apache.log.output.lf5 with parameters of type LogEvent Modifier and Type Method Description void
LF5LogTarget. processEvent(LogEvent event)
Process a log event.Constructors in org.apache.log.output.lf5 with parameters of type LogEvent Constructor Description LogKitLogRecord(LogEvent event, Formatter fmt)
Create a LogFactor record from a LogKit event -
Uses of LogEvent in org.apache.log.output.net
Methods in org.apache.log.output.net with parameters of type LogEvent Modifier and Type Method Description protected void
SocketOutputTarget. doProcessEvent(LogEvent event)
To process the LogEventprotected void
SocketOutputTarget. write(LogEvent event)
Writes the output as a LogEvent without formatting. -
Uses of LogEvent in org.apache.log.util
Methods in org.apache.log.util with parameters of type LogEvent Modifier and Type Method Description void
DefaultErrorHandler. error(java.lang.String message, java.lang.Throwable throwable, LogEvent event)
Log an unrecoverable error.
-