Uses of Class
org.apache.log4j.spi.LoggingEvent
-
Packages that use LoggingEvent Package Description org.apache.log4j Log4j 1.x compatibility layer.org.apache.log4j.spi Log4j 1.x compatibility layer. -
-
Uses of LoggingEvent in org.apache.log4j
Methods in org.apache.log4j with parameters of type LoggingEvent Modifier and Type Method Description protected abstract void
AppenderSkeleton. append(LoggingEvent event)
void
Category. callAppenders(LoggingEvent event)
No-op implementation.void
Appender. doAppend(LoggingEvent event)
Log inAppender
specific way.void
AppenderSkeleton. doAppend(LoggingEvent event)
This method is never going to be called in Log4j 2 so there isn't much point in having any code in it.void
AppenderSkeleton.NoOpErrorHandler. error(java.lang.String message, java.lang.Exception e, int errorCode, LoggingEvent event)
abstract java.lang.String
Layout. format(LoggingEvent event)
Implement this method to create your own layout format.java.lang.String
PatternLayout. format(LoggingEvent event)
-
Uses of LoggingEvent in org.apache.log4j.spi
Methods in org.apache.log4j.spi with parameters of type LoggingEvent Modifier and Type Method Description abstract int
Filter. decide(LoggingEvent event)
If the decision isDENY
, 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.
-