Uses of Class
org.apache.log.LogEvent
Packages that use LogEvent
Package
Description
Avalon LogKit is the logging framework used throughout
the Avalon project.
This package contains formmaters that serialize LogEvents to strings.
This package contains some useful output destination LogTargets.
Database output destination LogTargets.
Stream anf file based output destination LogTargets.
JMS based output destination LogTargets.
Datagram, Socket and SMTP output destination LogTargets.
Utilities suppporting the logging framework.
-
Uses of LogEvent in org.apache.log
Methods in org.apache.log with parameters of type LogEventModifier and TypeMethodDescriptionvoid
Log an unrecoverable error.void
Log an unrecoverable error.private final void
private final void
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 LogEventModifier and TypeMethodDescriptionSerialize log event into string.Format the event according to the pattern.Format log event into string.Format log event into syslog string.Format log event into string.protected String
ExtendedPatternFormatter.formatPatternRun
(LogEvent event, PatternFormatter.PatternRun run) Formats a single pattern run (can be extended in subclasses).protected String
PatternFormatter.formatPatternRun
(LogEvent event, PatternFormatter.PatternRun run) Formats a single pattern run (can be extended in subclasses).private String
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
Utility thread to format category. -
Uses of LogEvent in org.apache.log.output
Fields in org.apache.log.output declared as LogEventMethods in org.apache.log.output with parameters of type LogEventModifier and TypeMethodDescriptionprotected 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 String
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 LogEventModifier and TypeMethodDescriptionprotected void
AbstractJDBCTarget.doProcessEvent
(LogEvent event) Process a log event, via formatting and outputting it.protected abstract void
Output a log event to DB.protected void
Output a log event to DB.protected void
DefaultJDBCTarget.specifyColumn
(PreparedStatement statement, int index, LogEvent event) Adds a single object into statement.protected void
NormalizedJDBCTarget.specifyColumn
(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 LogEventModifier and TypeMethodDescriptionvoid
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 LogEventModifier and TypeMethodDescriptionjavax.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 String
private void
TextMessageBuilder.setProperty
(javax.jms.TextMessage message, int index, LogEvent event) Set a property -
Uses of LogEvent in org.apache.log.output.net
Methods in org.apache.log.output.net with parameters of type LogEventModifier and TypeMethodDescriptionprotected void
SocketOutputTarget.doProcessEvent
(LogEvent event) To process the LogEventprotected void
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