Class CaptureLogs7.CaptureLogs7Appender
- java.lang.Object
-
- org.apache.log4j.AppenderSkeleton
-
- com.identityworksllc.iiq.common.logging.CaptureLogs7.CaptureLogs7Appender
-
- All Implemented Interfaces:
org.apache.log4j.Appender
,org.apache.log4j.spi.OptionHandler
- Enclosing class:
- CaptureLogs7
public static class CaptureLogs7.CaptureLogs7Appender extends org.apache.log4j.AppenderSkeleton
The new appender that will log the messages if we’re tracking them and also pass them on to the original logger if we’re higher than the original level.
-
-
Constructor Summary
Constructors Constructor Description CaptureLogs7Appender(org.apache.log4j.Level level, List<org.apache.log4j.Appender> appenders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
append(org.apache.log4j.spi.LoggingEvent event)
void
close()
boolean
isAsSevereAsThreshold(org.apache.log4j.Priority priority)
boolean
requiresLayout()
-
-
-
Constructor Detail
-
CaptureLogs7Appender
public CaptureLogs7Appender(org.apache.log4j.Level level, List<org.apache.log4j.Appender> appenders)
-
-
Method Detail
-
append
protected void append(org.apache.log4j.spi.LoggingEvent event)
- Specified by:
append
in classorg.apache.log4j.AppenderSkeleton
-
close
public void close()
-
isAsSevereAsThreshold
public boolean isAsSevereAsThreshold(org.apache.log4j.Priority priority)
- Overrides:
isAsSevereAsThreshold
in classorg.apache.log4j.AppenderSkeleton
-
requiresLayout
public boolean requiresLayout()
-
-