|
Log4j 1.2.14 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Class
org.apache.log4j.spi.LoggingEvent
Packages that use LoggingEvent | |
org.apache.log4j | The main log4j package. |
org.apache.log4j.helpers | This package is used internally. |
org.apache.log4j.jdbc | The JDBCAppender provides for sending log events to a database. |
org.apache.log4j.lf5 | |
org.apache.log4j.net | Package for remote logging. |
org.apache.log4j.nt | Package for NT event logging. |
org.apache.log4j.performance | Package to measure the performance of the different log4j components. |
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)
Returns the log statement in a format consisting of the level , followed by " - " and then the
message . |
String |
TTCCLayout.format(LoggingEvent event)
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)
Produces a formatted string as specified by the conversion pattern. |
String |
HTMLLayout.format(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 |
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. |
protected void |
DailyRollingFileAppender.subAppend(LoggingEvent event)
This method differentiates DailyRollingFileAppender from its super class. |
protected void |
RollingFileAppender.subAppend(LoggingEvent event)
This method differentiates RollingFileAppender from its super class. |
void |
AsyncAppender.append(LoggingEvent event)
{@inheritDoc} |
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)
|
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. |
protected abstract String |
PatternConverter.convert(LoggingEvent event)
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way. |
void |
PatternConverter.format(StringBuffer sbuf,
LoggingEvent e)
A template method for formatting in a converter specific way. |
int |
AppenderAttachableImpl.appendLoopOnAppenders(LoggingEvent event)
Call the doAppend method on all attached appenders. |
void |
OnlyOnceErrorHandler.error(String message,
Exception e,
int errorCode,
LoggingEvent event)
Prints the message and the stack trace of the exception on System.err . |
Uses of LoggingEvent in org.apache.log4j.jdbc |
Methods in org.apache.log4j.jdbc with parameters of type LoggingEvent | |
void |
JDBCAppender.append(LoggingEvent event)
Adds the event to the buffer. |
protected String |
JDBCAppender.getLogStatement(LoggingEvent event)
By default getLogStatement sends the event to the required Layout object. |
Uses of LoggingEvent in org.apache.log4j.lf5 |
Methods in org.apache.log4j.lf5 with parameters of type LoggingEvent | |
void |
LF5Appender.append(LoggingEvent event)
Appends a LoggingEvent record to the
LF5Appender . |
Uses of LoggingEvent in org.apache.log4j.net |
Methods in org.apache.log4j.net with parameters of type LoggingEvent | |
void |
SocketHubAppender.append(LoggingEvent event)
Append an event to all of current connections. |
void |
SyslogAppender.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 |
JMSAppender.append(LoggingEvent event)
This method called by AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method to
do most of the real appending work. |
protected void |
TelnetAppender.append(LoggingEvent event)
Handles a log event. |
void |
SocketAppender.append(LoggingEvent event)
|
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.performance |
Methods in org.apache.log4j.performance with parameters of type LoggingEvent | |
void |
NullAppender.doAppend(LoggingEvent event)
|
void |
NullAppender.append(LoggingEvent event)
|
Uses of LoggingEvent in org.apache.log4j.spi |
Methods in org.apache.log4j.spi with parameters of type LoggingEvent | |
void |
ErrorHandler.error(String message,
Exception e,
int errorCode,
LoggingEvent event)
This method is invoked to handle the error. |
boolean |
TriggeringEventEvaluator.isTriggeringEvent(LoggingEvent event)
Is this the triggering event? |
abstract int |
Filter.decide(LoggingEvent event)
If the decision is DENY , then the event will be
dropped. |
Uses of LoggingEvent in org.apache.log4j.varia |
Methods in org.apache.log4j.varia with parameters of type LoggingEvent | |
int |
DenyAllFilter.decide(LoggingEvent event)
Always returns the integer constant Filter.DENY
regardless of the LoggingEvent parameter. |
void |
NullAppender.doAppend(LoggingEvent event)
Does not do anything. |
protected void |
NullAppender.append(LoggingEvent event)
Does not do anything. |
int |
StringMatchFilter.decide(LoggingEvent event)
Returns Filter.NEUTRAL is there is no string match. |
int |
LevelMatchFilter.decide(LoggingEvent event)
Return the decision of this filter. |
int |
LevelRangeFilter.decide(LoggingEvent event)
Return the decision of this filter. |
void |
FallbackErrorHandler.error(String message,
Exception e,
int errorCode,
LoggingEvent event)
Prints the message and the stack trace of the exception on System.err . |
Uses of LoggingEvent in org.apache.log4j.xml |
Methods in org.apache.log4j.xml with parameters of type LoggingEvent | |
String |
XMLLayout.format(LoggingEvent event)
Formats a LoggingEvent in conformance with the log4j.dtd. |
|
Log4j 1.2.14 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2000-2005 Apache Software Foundation.