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

Uses in package org.apache.log4j.net

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void
This method called by AppenderSkeleton.doAppend(LoggingEvent) method to do most of the real appending work.
void
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
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
void
Append an event to all of current connections.
void
void
Handles a log event.

Uses in package org.apache.log4j.nt

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void

Uses in package org.apache.log4j.jdbc

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void
Adds the event to the buffer.
String
By default getLogStatement sends the event to the required Layout object.

Uses in package org.apache.log4j.spi

Methods with parameter type org.apache.log4j.spi.LoggingEvent

int
If the decision is DENY, then the event will be dropped.
void
ErrorHandler.error(String message, Exception e, int errorCode, LoggingEvent event)
This method is invoked to handle the error.
boolean
Is this the triggering event?

Uses in package org.apache.log4j

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
void
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
void
This method is called by the AppenderSkeleton.doAppend(LoggingEvent) method.
void
Call the appenders in the hierrachy starting at this.
void
Log in Appender specific way.
void
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific append(LoggingEvent) method.
String
String
Implement this method to create your own layout format.
String
Produces a formatted string as specified by the conversion pattern.
String
Returns the log statement in a format consisting of the level, followed by " - " and then the message.
String
In addition to the level of the statement and message, the returned byte array includes time, thread, category and NDC information.
void
This method differentiates DailyRollingFileAppender from its super class.
void
This method differentiates RollingFileAppender from its super class.
void
Actual writing occurs here.

Uses in package org.apache.log4j.helpers

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void
Add an event as the last event in the buffer.
int
Call the doAppend method on all attached appenders.
String
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
void
DateLayout.dateFormat(StringBuffer buf, LoggingEvent event)
void
OnlyOnceErrorHandler.error(String message, Exception e, int errorCode, LoggingEvent event)
Prints the message and the stack trace of the exception on System.err.
void
PatternConverter.format(StringBuffer sbuf, LoggingEvent e)
A template method for formatting in a converter specific way.
void
Place a LoggingEvent in the buffer.

Methods with return type org.apache.log4j.spi.LoggingEvent

LoggingEvent
Get the first element in the buffer.
LoggingEvent
Get the oldest (first) element in the buffer.
LoggingEvent
Get the ith oldest event currently in the buffer.

Uses in package org.apache.log4j.lf5

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void
Appends a LoggingEvent record to the LF5Appender.

Uses in package org.apache.log4j.performance

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
void
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific AppenderSkeleton.append(LoggingEvent) method.

Uses in package org.apache.log4j.xml

Methods with parameter type org.apache.log4j.spi.LoggingEvent

String
Formats a LoggingEvent in conformance with the log4j.dtd.

Uses in package org.apache.log4j.varia

Methods with parameter type org.apache.log4j.spi.LoggingEvent

void
Does not do anything.
int
Always returns the integer constant Filter.DENY regardless of the LoggingEvent parameter.
int
Return the decision of this filter.
int
Return the decision of this filter.
int
Returns Filter.NEUTRAL is there is no string match.
void
Does not do anything.
void
FallbackErrorHandler.error(String message, Exception e, int errorCode, LoggingEvent event)
Prints the message and the stack trace of the exception on System.err.

Copyright 2000-2005 Apache Software Foundation.