Log4j 1.3alpha-3

Uses of Class
org.apache.log4j.spi.LoggingEvent

Packages that use LoggingEvent
org.apache.log4j The main log4j package. 
org.apache.log4j.chainsaw Chainsaw is a GUI log viewer and filter for the log4j package.  
org.apache.log4j.chainsaw.color   
org.apache.log4j.chainsaw.filter   
org.apache.log4j.chainsaw.layout   
org.apache.log4j.db The org.apache.log4j.db package provides means to append logging events into various databases.  
org.apache.log4j.helpers This package is used internally.  
org.apache.log4j.net Package for remote logging.  
org.apache.log4j.pattern   
org.apache.log4j.plugins   
org.apache.log4j.rolling Implements various file rolling policies. 
org.apache.log4j.rule   
org.apache.log4j.spi Contains part of the System Programming Interface (SPI) needed to extend log4j. 
org.apache.log4j.varia Contains various appenders, filters and other odds and ends.  
org.apache.log4j.xml XML based components.  
 

Uses of LoggingEvent in org.apache.log4j
 

Methods in org.apache.log4j with parameters of type LoggingEvent
 void WriterAppender.append(LoggingEvent event)
          This method is called by the AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method.
protected  void WriterAppender.subAppend(LoggingEvent event)
          Actual writing occurs here.
 void TTCCLayout.format(java.io.Writer output, LoggingEvent event)
          In addition to the level of the statement and message, the returned byte array includes time, thread, category and NDC information.
 void SimpleLayout.format(java.io.Writer output, LoggingEvent event)
          Writes the log statement in a format consisting of the level, followed by " - " and then the message.
 void PatternLayout.format(java.io.Writer output, LoggingEvent event)
          Produces a formatted string as specified by the conversion pattern.
 java.lang.String Layout.format(LoggingEvent event)
          Implement this method to create your own layout format.
abstract  void Layout.format(java.io.Writer output, LoggingEvent event)
           
 void Category.callAppenders(LoggingEvent event)
          Call the appenders in the hierrachy starting at this.
 void AsyncAppender.append(LoggingEvent event)
           
protected abstract  void AppenderSkeleton.append(LoggingEvent event)
          Subclasses of AppenderSkeleton should implement this method to perform actual logging.
 void AppenderSkeleton.doAppend(LoggingEvent event)
          This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent) method.
 void Appender.doAppend(LoggingEvent event)
          Log in Appender specific way.
 

Uses of LoggingEvent in org.apache.log4j.chainsaw
 

Methods in org.apache.log4j.chainsaw that return LoggingEvent
 LoggingEvent EventContainer.getRow(int row)
          Returns the vector representing the row.
 

Methods in org.apache.log4j.chainsaw with parameters of type LoggingEvent
 boolean RuleMediator.evaluate(LoggingEvent e)
           
 boolean EventContainer.isAddRow(LoggingEvent e, boolean valueIsAdjusting)
          Adds a row to the model.
 int EventContainer.getRowIndex(LoggingEvent e)
          Returns the index of the LoggingEvent
 void ChainsawAppenderHandler.append(LoggingEvent event)
           
protected  void ChainsawAppender.append(LoggingEvent aEvent)
          Appends the event
 

Uses of LoggingEvent in org.apache.log4j.chainsaw.color
 

Methods in org.apache.log4j.chainsaw.color with parameters of type LoggingEvent
 java.awt.Color RuleColorizer.getBackgroundColor(LoggingEvent event)
           
 java.awt.Color RuleColorizer.getForegroundColor(LoggingEvent event)
           
 java.awt.Color Colorizer.getBackgroundColor(LoggingEvent event)
          Given a LoggingEvent, returns a Color to use for background, or null if this instance cannot determine one, or that the stanard color should be used.
 java.awt.Color Colorizer.getForegroundColor(LoggingEvent event)
           
 

Uses of LoggingEvent in org.apache.log4j.chainsaw.filter
 

Methods in org.apache.log4j.chainsaw.filter with parameters of type LoggingEvent
 void FilterModel.processNewLoggingEvent(LoggingEvent event)
           
 

Uses of LoggingEvent in org.apache.log4j.chainsaw.layout
 

Methods in org.apache.log4j.chainsaw.layout with parameters of type LoggingEvent
 void EventDetailLayout.format(java.io.Writer output, LoggingEvent event)
           
 

Uses of LoggingEvent in org.apache.log4j.db
 

Methods in org.apache.log4j.db with parameters of type LoggingEvent
static short DBHelper.computeReferenceMask(LoggingEvent event)
           
protected  void DBAppender2.append(LoggingEvent event)
           
protected  void DBAppender.append(LoggingEvent event)
           
 

Uses of LoggingEvent in org.apache.log4j.helpers
 

Methods in org.apache.log4j.helpers that return LoggingEvent
 LoggingEvent CyclicBuffer.get(int i)
          Get the ith oldest event currently in the buffer.
 LoggingEvent CyclicBuffer.get()
          Get the oldest (first) element in the buffer.
 LoggingEvent BoundedFIFO.get()
          Get the first element in the buffer.
 

Methods in org.apache.log4j.helpers with parameters of type LoggingEvent
 void OnlyOnceErrorHandler.error(java.lang.String message, java.lang.Exception e, int errorCode, LoggingEvent event)
          Prints the message and the stack trace of the exception on System.err.
 void DateLayout.dateFormat(java.lang.StringBuffer buf, LoggingEvent event)
           
 void CyclicBuffer.add(LoggingEvent event)
          Add an event as the last event in the buffer.
 void BoundedFIFO.put(LoggingEvent o)
          Place a LoggingEvent in the buffer.
 int AppenderAttachableImpl.appendLoopOnAppenders(LoggingEvent event)
          Call the doAppend method on all attached appenders.
 

Uses of LoggingEvent in org.apache.log4j.net
 

Methods in org.apache.log4j.net with parameters of type LoggingEvent
 void XMLSocketReceiver.doPost(LoggingEvent event)
           
 void UDPAppender.append(LoggingEvent event)
           
protected  void TelnetAppender.append(LoggingEvent event)
          Handles a log event.
 void SyslogAppender.append(LoggingEvent event)
           
 void SocketReceiver.doPost(LoggingEvent event)
           
 void SocketHubAppender.append(LoggingEvent event)
          Append an event to all of current connections.
 void SocketAppender.append(LoggingEvent event)
           
 void SMTPAppender.append(LoggingEvent event)
          Perform SMTPAppender specific appending actions, mainly adding the event to a cyclic buffer and checking if the event triggers an e-mail to be sent.
 void MulticastAppender.append(LoggingEvent event)
           
 void JMSAppender.append(LoggingEvent event)
          This method called by AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method to do most of the real appending work.
 

Uses of LoggingEvent in org.apache.log4j.pattern
 

Methods in org.apache.log4j.pattern with parameters of type LoggingEvent
protected  java.lang.StringBuffer ThrowableInformationPatternConverter.convert(LoggingEvent event)
           
 java.lang.String ThrowableInformationPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer ThreadPatternConverter.convert(LoggingEvent event)
           
 java.lang.String ThreadPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer SequenceNumberPatternConverter.convert(LoggingEvent event)
           
 java.lang.String SequenceNumberPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer RelativeTimePatternConverter.convert(LoggingEvent event)
           
 java.lang.String RelativeTimePatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer PropertiesPatternConverter.convert(LoggingEvent event)
           
 java.lang.String PropertiesPatternConverter.getStyleClass(LoggingEvent e)
           
protected abstract  java.lang.StringBuffer PatternConverter.convert(LoggingEvent event)
          Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
 void PatternConverter.format(java.io.Writer output, LoggingEvent e)
          A template method for formatting in a converter specific way.
abstract  java.lang.String PatternConverter.getStyleClass(LoggingEvent e)
          This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null.
 java.lang.StringBuffer NDCPatternConverter.convert(LoggingEvent event)
           
 java.lang.String NDCPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer MethodLocationPatternConverter.convert(LoggingEvent event)
           
 java.lang.String MethodLocationPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer MessagePatternConverter.convert(LoggingEvent event)
           
 java.lang.String MessagePatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.String LoggerPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer LiteralPatternConverter.convert(LoggingEvent event)
           
 java.lang.String LiteralPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer LineSeparatorPatternConverter.convert(LoggingEvent event)
           
 java.lang.String LineSeparatorPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer LineLocationPatternConverter.convert(LoggingEvent event)
           
 java.lang.String LineLocationPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer LevelPatternConverter.convert(LoggingEvent event)
           
 java.lang.String LevelPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer FullLocationPatternConverter.convert(LoggingEvent event)
           
 java.lang.String FullLocationPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer FileLocationPatternConverter.convert(LoggingEvent event)
           
 java.lang.String FileLocationPatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.StringBuffer DatePatternConverter.convert(LoggingEvent event)
           
 java.lang.String DatePatternConverter.getStyleClass(LoggingEvent e)
           
 java.lang.String ClassNamePatternConverter.getStyleClass(LoggingEvent e)
           
 

Uses of LoggingEvent in org.apache.log4j.plugins
 

Methods in org.apache.log4j.plugins with parameters of type LoggingEvent
 void Receiver.doPost(LoggingEvent event)
          Posts the logging event to a logger in the configured logger repository.
 

Uses of LoggingEvent in org.apache.log4j.rolling
 

Methods in org.apache.log4j.rolling with parameters of type LoggingEvent
protected  void RollingFileAppender.subAppend(LoggingEvent event)
          This method differentiates RollingFileAppender from its super class.
 

Uses of LoggingEvent in org.apache.log4j.rule
 

Methods in org.apache.log4j.rule with parameters of type LoggingEvent
 boolean TimestampInequalityRule.evaluate(LoggingEvent event)
           
 boolean TimestampEqualsRule.evaluate(LoggingEvent event)
           
 boolean Rule.evaluate(LoggingEvent e)
          Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
 boolean PartialTextMatchRule.evaluate(LoggingEvent event)
           
 boolean OrRule.evaluate(LoggingEvent event)
           
 boolean NotRule.evaluate(LoggingEvent event)
           
 boolean NotEqualsRule.evaluate(LoggingEvent event)
           
 boolean LikeRule.evaluate(LoggingEvent event)
           
 boolean LevelInequalityRule.evaluate(LoggingEvent event)
           
 boolean InequalityRule.evaluate(LoggingEvent event)
           
 boolean ExpressionRule.evaluate(LoggingEvent event)
           
 boolean ExistsRule.evaluate(LoggingEvent event)
           
 boolean EqualsRule.evaluate(LoggingEvent event)
           
 boolean ColorRule.evaluate(LoggingEvent event)
           
 boolean AndRule.evaluate(LoggingEvent event)
           
 

Uses of LoggingEvent in org.apache.log4j.spi
 

Methods in org.apache.log4j.spi that return LoggingEvent
 LoggingEvent Decoder.decode(java.lang.String event)
           
 

Methods in org.apache.log4j.spi with parameters of type LoggingEvent
 boolean TriggeringEventEvaluator.isTriggeringEvent(LoggingEvent event)
          Is this the triggering event?
 java.lang.String LoggingEventFieldResolver.applyFields(java.lang.String replaceText, LoggingEvent event)
           
 java.lang.Object LoggingEventFieldResolver.getValue(java.lang.String fieldName, LoggingEvent event)
           
abstract  int Filter.decide(LoggingEvent event)
          If the decision is DENY, then the event will be dropped.
 void ErrorHandler.error(java.lang.String message, java.lang.Exception e, int errorCode, LoggingEvent event)
          This method is invoked to handle the error.
 

Uses of LoggingEvent in org.apache.log4j.varia
 

Methods in org.apache.log4j.varia with parameters of type LoggingEvent
 int StringMatchFilter.decide(LoggingEvent event)
          Returns Filter.NEUTRAL is there is no string match.
 int ReflectionFilter.decide(LoggingEvent event)
          NOTE: This filter modifies logging events by adding properties to the event.
 int PropertyFilter.decide(LoggingEvent event)
           
 void NullAppender.doAppend(LoggingEvent event)
          Does not do anything.
protected  void NullAppender.append(LoggingEvent event)
          Does not do anything.
protected  void ListModelAppender.append(LoggingEvent event)
           
protected  void ListAppender.append(LoggingEvent event)
           
 int LevelRangeFilter.decide(LoggingEvent event)
          Return the decision of this filter.
 int LevelMatchFilter.decide(LoggingEvent event)
          Return the decision of this filter.
 void FallbackErrorHandler.error(java.lang.String message, java.lang.Exception e, int errorCode, LoggingEvent event)
          Prints the message and the stack trace of the exception on System.err.
 int ExpressionFilter.decide(LoggingEvent event)
          Returns Filter.NEUTRAL is there is no string match.
 int DenyAllFilter.decide(LoggingEvent event)
          Always returns the integer constant Filter.DENY regardless of the LoggingEvent parameter.
 

Uses of LoggingEvent in org.apache.log4j.xml
 

Methods in org.apache.log4j.xml that return LoggingEvent
 LoggingEvent XMLDecoder.decode(java.lang.String data)
          Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
 LoggingEvent UtilLoggingXMLDecoder.decode(java.lang.String data)
          Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
 

Methods in org.apache.log4j.xml with parameters of type LoggingEvent
 void XMLLayout.format(java.io.Writer output, LoggingEvent event)
          Formats a LoggingEventin conformance with the log4j.dtd.
 


Log4j 1.3alpha-3

Copyright 2000-2003 Apache Software Foundation.