Log4j 1.3alpha-7

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

Packages that use LoggingEvent
org.apache.log4j The main log4j package. 
org.apache.log4j.db The org.apache.log4j.db package provides means to append logging events into various databases.  
org.apache.log4j.filter   
org.apache.log4j.helpers This package is used internally.  
org.apache.log4j.net Package for remote logging.  
org.apache.log4j.pattern Provides classes implementing format specifiers in conversion patterns. 
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(Writer output, LoggingEvent event)
          Deprecated. In addition to the level of the statement and message, the returned byte array includes time, thread, category and NDC information.
 void SimpleLayout.format(Writer output, LoggingEvent event)
          Writes the log statement in a format consisting of the level, followed by " - " and then the message.
 void RollingFileAppender.doAppend(LoggingEvent event)
          Deprecated. Log in Appender specific way.
 void PatternLayout.format(Writer output, LoggingEvent event)
          Formats a logging event to a writer.
 String Layout.format(LoggingEvent event)
          Implement this method to create your own layout format.
abstract  void Layout.format(Writer output, LoggingEvent event)
           
 void DailyRollingFileAppender.doAppend(LoggingEvent event)
          Deprecated. Log in Appender specific way.
 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.db
 

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

Uses of LoggingEvent in org.apache.log4j.filter
 

Methods in org.apache.log4j.filter 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)
           
 int MapFilter.decide(LoggingEvent event)
          NOTE: This filter modifies logging events by adding properties to the event.
 int LocationInfoFilter.decide(LoggingEvent event)
          If this event does not already contain location information, evaluate the event against the expression.
 int LevelRangeFilter.decide(LoggingEvent event)
          Return the decision of this filter.
 int LevelMatchFilter.decide(LoggingEvent event)
          Return the decision of this filter.
 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.
 int AndFilter.decide(LoggingEvent event)
          If this event does not already contain location information, evaluate the event against the expression.
 

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(String message, Exception e, int errorCode, LoggingEvent event)
          Deprecated.  
 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.
protected  void SMTPAppender.sendBuffer(LoggingEvent triggeringEvent)
          Send the contents of the cyclic buffer as an e-mail message.
 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
 void ThrowableInformationPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void ThreadPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void SequenceNumberPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void RelativeTimePatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void PropertiesPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void NDCPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void MethodLocationPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void MessagePatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
abstract  void LoggingEventPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void LoggerPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void LiteralPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void LineSeparatorPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void LineLocationPatternConverter.format(LoggingEvent event, StringBuffer output)
          Formats an event into a string buffer.
 void LevelPatternConverter.format(LoggingEvent event, StringBuffer output)
          Formats an event into a string buffer.
 void FullLocationPatternConverter.format(LoggingEvent event, StringBuffer output)
          Formats an event into a string buffer.
 void FileLocationPatternConverter.format(LoggingEvent event, StringBuffer output)
          Formats an event into a string buffer.
 void DatePatternConverter.format(LoggingEvent event, StringBuffer output)
          Formats an event into a string buffer.
 void ClassNamePatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Format a logging event.
 

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
 boolean TriggeringPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String filename, long fileLength)
          Determines if a rollover may be appropriate at this time.
 boolean TimeBasedRollingPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String filename, long fileLength)
          Determines if a rollover may be appropriate at this time. If true is returned, RolloverPolicy.rollover will be called but it can determine that a rollover is not warranted.
 boolean SizeBasedTriggeringPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String file, long fileLength)
          Determines if a rollover may be appropriate at this time. If true is returned, RolloverPolicy.rollover will be called but it can determine that a rollover is not warranted.
protected  void RollingFileAppender.subAppend(LoggingEvent event)
          Actual writing occurs here.

Most subclasses of WriterAppender will need to override this method.

 boolean FilterBasedTriggeringPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String file, long fileLength)
          Determines if a rollover may be appropriate at this time. If true is returned, RolloverPolicy.rollover will be called but it can determine that a rollover is not warranted.
 

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 LevelEqualsRule.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(String event)
           
 

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

Uses of LoggingEvent in org.apache.log4j.varia
 

Methods in org.apache.log4j.varia with parameters of type LoggingEvent
protected  void SoundAppender.append(LoggingEvent event)
          Play the sound if an event is being processed
 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)
           
 void FallbackErrorHandler.error(String message, Exception e, int errorCode, LoggingEvent event)
          Deprecated.  
 

Uses of LoggingEvent in org.apache.log4j.xml
 

Methods in org.apache.log4j.xml that return LoggingEvent
 LoggingEvent XMLDecoder.decode(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(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(Writer output, LoggingEvent event)
          Formats a LoggingEventin conformance with the log4j.dtd.
 


Log4j 1.3alpha-7

Copyright 2000-2005 Apache Software Foundation.