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.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 voidErrorHandler. error(java.lang.String message, java.lang.Throwable throwable, LogEvent event)Log an unrecoverable error.voidHierarchy.InnerErrorHandler. error(java.lang.String message, java.lang.Throwable throwable, LogEvent event)Log an unrecoverable error.private voidLogger. fireEvent(LogEvent event, LogTarget[] targets)private voidLogger. output(LogEvent event)voidLogTarget. 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.StringFormatter. format(LogEvent event)Serialize log event into string.java.lang.StringPatternFormatter. format(LogEvent event)Format the event according to the pattern.java.lang.StringRawFormatter. format(LogEvent event)Format log event into string.java.lang.StringSyslogFormatter. format(LogEvent event)Format log event into syslog string.java.lang.StringXMLFormatter. format(LogEvent event)Format log event into string.protected java.lang.StringExtendedPatternFormatter. formatPatternRun(LogEvent event, PatternFormatter.PatternRun run)Formats a single pattern run (can be extended in subclasses).protected java.lang.StringPatternFormatter. formatPatternRun(LogEvent event, PatternFormatter.PatternRun run)Formats a single pattern run (can be extended in subclasses).private java.lang.StringExtendedPatternFormatter. getMethod(LogEvent event)Utility method to format category.protected intSyslogFormatter. getSyslogFacility(LogEvent event)Get facility associated with event.protected intSyslogFormatter. getSyslogPriority(LogEvent event)Get syslog priority code for LogEvent.private java.lang.StringExtendedPatternFormatter. 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_bufferMethods in org.apache.log.output with parameters of type LogEvent Modifier and Type Method Description protected voidAbstractOutputTarget. doProcessEvent(LogEvent event)Process a log event.protected abstract voidAbstractTarget. doProcessEvent(LogEvent event)Process a log event, via formatting and outputting it.voidAsyncLogTarget. doProcessEvent(LogEvent event)Process a log event by adding it to queue.protected voidMemoryTarget. doProcessEvent(LogEvent event)Process a log event, via formatting and outputting it.protected voidPriorityFilteringTarget. doProcessEvent(LogEvent event)private java.lang.StringAbstractOutputTarget. format(LogEvent event)Helper method to format an event into a string, using the formatter if available.voidAbstractTarget. processEvent(LogEvent event)Process a log event, via formatting and outputting it.protected booleanMemoryTarget. 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 voidAbstractJDBCTarget. doProcessEvent(LogEvent event)Process a log event, via formatting and outputting it.protected abstract voidAbstractJDBCTarget. output(LogEvent event)Output a log event to DB.protected voidDefaultJDBCTarget. output(LogEvent event)Output a log event to DB.protected voidDefaultJDBCTarget. specifyColumn(java.sql.PreparedStatement statement, int index, LogEvent event)Adds a single object into statement.protected voidNormalizedJDBCTarget. 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 voidSafeFileTarget. 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.MessageMessageBuilder. buildMessage(javax.jms.Session session, LogEvent event)Creation of a new message.javax.jms.MessageObjectMessageBuilder. buildMessage(javax.jms.Session session, LogEvent event)Creation of a new message.javax.jms.MessageTextMessageBuilder. buildMessage(javax.jms.Session session, LogEvent event)Build a message from the supplied session for the supplied eventprotected voidAbstractJMSTarget. doProcessEvent(LogEvent event)Process a log event, via formatting and outputting it.private java.lang.StringTextMessageBuilder. getText(LogEvent event)private voidTextMessageBuilder. 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 LogEvent Modifier and Type Method Description protected voidSocketOutputTarget. doProcessEvent(LogEvent event)To process the LogEventprotected voidSocketOutputTarget. 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 voidDefaultErrorHandler. error(java.lang.String message, java.lang.Throwable throwable, LogEvent event)Log an unrecoverable error.
-