Log4j 1.3alpha-8

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.nt Package for NT event 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
abstract  String Layout.format(LoggingEvent event)
          Implement this method to create your own layout format.
 String SimpleLayout.format(LoggingEvent event)
          Writes the log statement in a format consisting of the level, followed by " - " and then the message.
 String TTCCLayout.format(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 Category.callAppenders(LoggingEvent event)
          Call the appenders in the hierrachy starting at this.
 String PatternLayout.format(LoggingEvent event)
          Formats a logging event to a writer.
 String HTMLLayout.format(LoggingEvent event)
          {@inheritDoc}
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 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 Appender.doAppend(LoggingEvent event)
          Log in Appender specific way.
 void DailyRollingFileAppender.doAppend(LoggingEvent event)
          Deprecated. Log in Appender specific way.
 void RollingFileAppender.doAppend(LoggingEvent event)
          Deprecated. Log in Appender specific way.
 void AsyncAppender.append(LoggingEvent event)
           
 

Uses of LoggingEvent in org.apache.log4j.db
 

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

Uses of LoggingEvent in org.apache.log4j.filter
 

Methods in org.apache.log4j.filter with parameters of type LoggingEvent
 int LevelRangeFilter.decide(LoggingEvent event)
          Return the decision of this filter.
 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 AndFilter.decide(LoggingEvent event)
          If this event does not already contain location information, evaluate the event against the expression.
 int DenyAllFilter.decide(LoggingEvent event)
          Always returns the integer constant Filter.DENY regardless of the LoggingEvent parameter.
 int LevelMatchFilter.decide(LoggingEvent event)
          Return the decision of this filter.
 int MapFilter.decide(LoggingEvent event)
          NOTE: This filter modifies logging events by adding properties to the event.
 int ExpressionFilter.decide(LoggingEvent event)
          Returns Filter.NEUTRAL is there is no string match.
 int LocationInfoFilter.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 DateLayout.dateFormat(StringBuffer buf, 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.
 void OnlyOnceErrorHandler.error(String message, Exception e, int errorCode, LoggingEvent event)
          Deprecated.  
 

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 MulticastAppender.append(LoggingEvent event)
           
protected  void TelnetAppender.append(LoggingEvent event)
          Handles a log event.
 void UDPAppender.append(LoggingEvent event)
           
 void SocketReceiver.doPost(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.
 void SyslogAppender.append(LoggingEvent event)
           
 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 SocketHubAppender.append(LoggingEvent event)
          Append an event to all of current connections.
 

Uses of LoggingEvent in org.apache.log4j.nt
 

Methods in org.apache.log4j.nt with parameters of type LoggingEvent
 void NTEventLogAppender.append(LoggingEvent event)
           
 

Uses of LoggingEvent in org.apache.log4j.pattern
 

Methods in org.apache.log4j.pattern with parameters of type LoggingEvent
abstract  void LoggingEventPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Formats an event into a string buffer.
 void LineSeparatorPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void FileLocationPatternConverter.format(LoggingEvent event, StringBuffer output)
          {@inheritDoc}
 void RelativeTimePatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void LevelPatternConverter.format(LoggingEvent event, StringBuffer output)
          {@inheritDoc}
 void LineLocationPatternConverter.format(LoggingEvent event, StringBuffer output)
          {@inheritDoc}
 void LoggerPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void FullLocationPatternConverter.format(LoggingEvent event, StringBuffer output)
          {@inheritDoc}
 void ThrowableInformationPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void ThreadPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void NDCPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void SequenceNumberPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void LiteralPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void PropertiesPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void MessagePatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void MethodLocationPatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          {@inheritDoc}
 void ClassNamePatternConverter.format(LoggingEvent event, StringBuffer toAppendTo)
          Format a logging event.
 void DatePatternConverter.format(LoggingEvent event, StringBuffer output)
          {@inheritDoc}
 

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)
          {@inheritDoc}
 boolean TimeBasedRollingPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String filename, long fileLength)
          {@inheritDoc}
 boolean SizeBasedTriggeringPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String file, long fileLength)
          {@inheritDoc}
 boolean FilterBasedTriggeringPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String file, long fileLength)
          {@inheritDoc}
 boolean TriggeringPolicy.isTriggeringEvent(Appender appender, LoggingEvent event, String filename, long fileLength)
          Determines if a rollover may be appropriate at this time.
 

Uses of LoggingEvent in org.apache.log4j.rule
 

Methods in org.apache.log4j.rule with parameters of type LoggingEvent
 boolean LevelEqualsRule.evaluate(LoggingEvent event)
           
 boolean PartialTextMatchRule.evaluate(LoggingEvent event)
           
 boolean AndRule.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 ExpressionRule.evaluate(LoggingEvent event)
           
 boolean LikeRule.evaluate(LoggingEvent event)
           
 boolean ColorRule.evaluate(LoggingEvent event)
           
 boolean ExistsRule.evaluate(LoggingEvent event)
           
 boolean NotRule.evaluate(LoggingEvent event)
           
 boolean TimestampInequalityRule.evaluate(LoggingEvent event)
           
 boolean EqualsRule.evaluate(LoggingEvent event)
           
 boolean OrRule.evaluate(LoggingEvent event)
           
 boolean InequalityRule.evaluate(LoggingEvent event)
           
 boolean NotEqualsRule.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
abstract  int Filter.decide(LoggingEvent event)
          If the decision is DENY, then the event will be dropped.
 String LoggingEventFieldResolver.applyFields(String replaceText, LoggingEvent event)
           
 Object LoggingEventFieldResolver.getValue(String fieldName, LoggingEvent event)
           
 void ErrorHandler.error(String message, Exception e, int errorCode, LoggingEvent event)
          Deprecated.  
 boolean TriggeringEventEvaluator.isTriggeringEvent(LoggingEvent event)
          Is this the triggering event?
 

Uses of LoggingEvent in org.apache.log4j.varia
 

Methods in org.apache.log4j.varia with parameters of type LoggingEvent
 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)
           
protected  void SoundAppender.append(LoggingEvent event)
          Play the sound if an event is being processed
 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
 String XMLLayout.format(LoggingEvent event)
          Formats a LoggingEventin conformance with the log4j.dtd.
 


Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.